aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMarvin Borner2021-06-30 13:10:14 +0200
committerMarvin Borner2021-06-30 13:10:14 +0200
commit73a7db5b48eab615a0f6258e0196a1260a88cbbb (patch)
tree58e4aa589a2026e58ce5b313d736dc5f6cc1e1c2 /apps
parent5a4eea5c6b39d221fe4828cb279c68c60bad8fae (diff)
Fixed child location algorithm
Diffstat (limited to 'apps')
-rw-r--r--apps/chess/main.c1
1 files changed, 0 insertions, 1 deletions
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;
}
}