Fixed some CM buttons that shouldnt close when clicked.

This commit is contained in:
Chandler Cox
2022-12-23 11:08:14 -06:00
parent 5a50656249
commit fc0befd773
4 changed files with 4 additions and 0 deletions

View File

@@ -201,6 +201,7 @@ namespace FlaxEditor.Viewport.Previews
// Preview LOD
{
var previewLOD = ViewWidgetButtonMenu.AddButton("Preview LOD");
previewLOD.CloseMenuOnClick = false;
var previewLODValue = new IntValueBox(-1, 90, 2, 70.0f, -1, 10, 0.02f)
{
Parent = previewLOD