Studio: Only show PAUSE overlay when info overlay is active.

PiperOrigin-RevId: 944428518
Change-Id: I8ba9bc24795ad4d3e35884c88cef12a0df910dec
This commit is contained in:
Yuval Tassa
2026-07-08 04:47:41 -07:00
committed by Copybara-Service
parent fb6d1cf18f
commit 18147c50c8
+1 -1
View File
@@ -1052,7 +1052,7 @@ void App::BuildGui() {
}
// pause overlay
if (has_model() &&
if (tmp_.info && has_model() &&
step_control_.GetPauseState() == PauseState::kNormalPaused) {
platform::TextOverlay("Pause", platform::OverlayPos::kTop,
workspace_rect, "PAUSE", ImVec4(0, 0, 0, 0), 3.0f);