always show grid when tile picker is open

This commit is contained in:
Sven Balzer 2025-03-23 18:19:59 +01:00
parent 3f380adb0a
commit b48b5f0339

View File

@ -1930,7 +1930,7 @@ int main(int argc, char **argv) {
SDL_DrawGPUIndexedPrimitives(render_pass, 6, map_height * map_width, 0, 0, 0);
}
if (selected_tile != -1) { // Draw Grid
if (show_tile_picker) { // Draw Grid
ZoneScopedN("Draw Grid");
SDL_GPUBufferBinding index_buffer_binding = { .buffer = grid_index_buffer, .offset = 0 };
SDL_GPUBufferBinding vertex_buffers[] = {