Skip to content

Commit 3eaf471

Browse files
committed
[CL] Fix DisableGameInputForTextFields
1 parent 8332eb4 commit 3eaf471

File tree

1 file changed

+3
-2
lines changed
  • MicroEngineerProject/MicroEngineer/UI/Controllers

1 file changed

+3
-2
lines changed

MicroEngineerProject/MicroEngineer/UI/Controllers/Uxmls.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,16 @@ private VisualTreeAsset LoadAsset(string path)
7171

7272
public WindowOptions InstantiateWindowOptions(string windowId, bool makeDraggable = true)
7373
{
74-
return new WindowOptions()
74+
return WindowOptions.Default with
7575
{
7676
WindowId = windowId,
7777
IsHidingEnabled = true,
7878
MoveOptions = new MoveOptions
7979
{
8080
IsMovingEnabled = makeDraggable,
8181
CheckScreenBounds = true
82-
}
82+
},
83+
DisableGameInputForTextFields = true
8384
};
8485
}
8586
}

0 commit comments

Comments
 (0)