From 1efe681967cc764db3185134e0750349061a6e41 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 20 Mar 2025 23:22:51 +0000 Subject: Support capturing and reacting to ImGui window closure --- ui/gameMainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/gameMainWindow.cpp') diff --git a/ui/gameMainWindow.cpp b/ui/gameMainWindow.cpp index cfc64e3..322c6e5 100644 --- a/ui/gameMainWindow.cpp +++ b/ui/gameMainWindow.cpp @@ -25,7 +25,7 @@ public: explicit GameMainToolbar(GameMainSelector * gms) : gms {gms} { } void - render() const override + render() override { if (IltGui::BeginToolbar("bottomBar", ImGuiDir_Down, TOOLBAR_HEIGHT)) { if (ImGui::ImageButton("Build rails", *buildRailsIcon, TOOLBAR_ICON_SIZE)) { -- cgit v1.2.3