aboutsummaryrefslogtreecommitdiff
path: root/src/game_tab/GameTab.cpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-12-29 12:28:51 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-12-29 12:28:51 +0100
commitaa94a41353e5df639548ce2ca21a0db83f7c3027 (patch)
treedd6c499f5b20000262256f4a311942f58b42b686 /src/game_tab/GameTab.cpp
parent756c888145f4c1046b25cad062af11c13596d50e (diff)
Debug pieces animation
Diffstat (limited to 'src/game_tab/GameTab.cpp')
-rw-r--r--src/game_tab/GameTab.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game_tab/GameTab.cpp b/src/game_tab/GameTab.cpp
index 40a1c71..27f7638 100644
--- a/src/game_tab/GameTab.cpp
+++ b/src/game_tab/GameTab.cpp
@@ -23,7 +23,7 @@ GameTab::GameTab(wxFrame *parent, std::shared_ptr<Game> game)
wxCommandEvent event(REFRESH_TAB_TITLE, GetId());
event.SetEventObject(this);
OnRefreshTabTitle(event);
- board_panel->Notify();
+ board_panel->Notify(false, false);
editor_panel->Notify();
Bind(REFRESH_TAB_TITLE, &GameTab::OnRefreshTabTitle, this, wxID_ANY);
@@ -47,7 +47,7 @@ GameTab::GameTab(wxFrame *parent, std::shared_ptr<Game> game)
}
void GameTab::OnGameChange(wxCommandEvent &event) {
- board_panel->Notify();
+ board_panel->Notify(false,false);
editor_panel->Notify();
}