Skip to content

Commit

Permalink
fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
Redcrafter committed Sep 14, 2024
1 parent 0de3344 commit 5291c9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/windows/tile_list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ void TileList::draw(const GameData& game_data, const Texture& atlas) {
for(const auto& [id, pos, size] : tiles_) {
ImGui::PushID(id);
if(ImGui::ImageButton((ImTextureID)atlas.id.value, ImVec2(32, 32), ImVec2(pos.x, pos.y), ImVec2(pos.x + size.x, pos.y + size.y))) {
tile_viewer.select_tile(tile);
tile_viewer.select_tile(id);
tile_viewer.focus();
}
ImGui::SetItemTooltip("%i", id);
Expand Down

0 comments on commit 5291c9a

Please sign in to comment.