aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-11-24 04:05:44 +0100
committerkdx <kikoodx@paranoici.org>2023-11-24 04:05:44 +0100
commit1dfbb71fd6b235d41fc8a6160434c00ddf0a800a (patch)
tree44d13db48139dd64c9d72b5b157ae28fe4eb09eb
parenteb8634cc44594a7c2d392553f407de864f200590 (diff)
downloadaancyk-1dfbb71fd6b235d41fc8a6160434c00ddf0a800a.tar.gz
redraw tile picker after editor pick
-rw-r--r--src/editor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/editor.c b/src/editor.c
index f89f7c1..8b373b2 100644
--- a/src/editor.c
+++ b/src/editor.c
@@ -119,6 +119,7 @@ _ev_mouse(Window *this, Root *root)
grid_set(root->brush, tx, ty, tile);
}
}
+ root->windows[WIN_TILES]->redraw = true;
this->redraw = true;
} else if (input_button_pressed(input, SDL_BUTTON_RIGHT) &&
(lshft_down || lctrl_down)) {