Add not closing some cm buttons

This commit is contained in:
Chandler Cox
2023-08-19 14:30:08 -05:00
parent 122524bd19
commit 1286a29462
7 changed files with 18 additions and 0 deletions

View File

@@ -171,6 +171,7 @@ namespace FlaxEditor.Viewport.Previews
// Show Default Scene
_showDefaultSceneButton = ViewWidgetShowMenu.AddButton("Default Scene", () => ShowDefaultSceneActors = !ShowDefaultSceneActors);
_showDefaultSceneButton.Checked = true;
_showDefaultSceneButton.CloseMenuOnClick = false;
}
// Setup preview scene