From 73a7db5b48eab615a0f6258e0196a1260a88cbbb Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 30 Jun 2021 13:10:14 +0200 Subject: Fixed child location algorithm --- apps/chess/main.c | 1 - 1 file changed, 1 deletion(-) (limited to 'apps') diff --git a/apps/chess/main.c b/apps/chess/main.c index d8c52c1..0270ec1 100644 --- a/apps/chess/main.c +++ b/apps/chess/main.c @@ -97,7 +97,6 @@ static void mouseclick(struct gui_event_mouse *event) selected = vec2(-1, -1); } else if (clicked_piece->piece) { - gui_widget_redraw(win, clicked_piece->widget); selected = clicked; } } -- cgit v1.2.3