Studio: Only show PAUSE overlay when info overlay is active.
PiperOrigin-RevId: 944428518 Change-Id: I8ba9bc24795ad4d3e35884c88cef12a0df910dec
This commit is contained in:
committed by
Copybara-Service
parent
fb6d1cf18f
commit
18147c50c8
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user