about summary refs log tree commit diff stats
path: root/src/ipc_state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc_state.cpp')
-rw-r--r--src/ipc_state.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipc_state.cpp b/src/ipc_state.cpp index 1f8d286..a99fa89 100644 --- a/src/ipc_state.cpp +++ b/src/ipc_state.cpp
@@ -313,7 +313,7 @@ struct IPCState {
313 player_position = 313 player_position =
314 std::make_tuple<int, int>(msg["position"]["x"], msg["position"]["z"]); 314 std::make_tuple<int, int>(msg["position"]["x"], msg["position"]["z"]);
315 315
316 tracker_frame->RedrawPosition(); 316 tracker_frame->UpdateIndicators(StateUpdate{.player_position = true});
317 } else if (msg["cmd"] == "SolvePanels") { 317 } else if (msg["cmd"] == "SolvePanels") {
318 std::lock_guard state_guard(state_mutex); 318 std::lock_guard state_guard(state_mutex);
319 319
@@ -321,7 +321,7 @@ struct IPCState {
321 solved_panels.insert(std::move(panel)); 321 solved_panels.insert(std::move(panel));
322 } 322 }
323 323
324 tracker_frame->UpdateIndicators(kUPDATE_ONLY_PANELS); 324 tracker_frame->UpdateIndicators(StateUpdate{.open_panels_tab = true});
325 } 325 }
326 } 326 }
327 327