ImGui: keep drawing when there's a pending change_layer (#3782)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions

This commit is contained in:
Emma 2025-11-06 23:58:15 +00:00 committed by GitHub
parent 2f022a462d
commit b4628b80e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -250,7 +250,7 @@ void Render(const vk::CommandBuffer& cmdbuf, const vk::ImageView& image_view,
} }
bool MustKeepDrawing() { bool MustKeepDrawing() {
return layers.size() > 1 || DebugState.IsShowingDebugMenuBar(); return layers.size() > 1 || change_layers.size() > 1 || DebugState.IsShowingDebugMenuBar();
} }
} // namespace Core } // namespace Core