Skip to content
This repository was archived by the owner on Sep 7, 2022. It is now read-only.

Commit 3878451

Browse files
committed
enable wantsMouseMove events on editorWindow
1 parent 6e0e5bc commit 3878451

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

com.unity.uiwidgets/Editor/UIWidgetsEditorPanel.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ void Update() {
4141

4242
void OnEnable() {
4343
D.assert(_wrapper == null);
44+
45+
//enable listener to MouseMoveEvents by default
46+
//user can disable it in onEnable() if needed
47+
wantsMouseMove = true;
48+
4449
_configurations = new Configurations();
4550
_wrapper = new UIWidgetsPanelWrapper();
4651
onEnable();

0 commit comments

Comments
 (0)