Browse Source

fixed resize cursor being kept over window

ncannasse 6 năm trước cách đây
mục cha
commit
af6fe093bf
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      hxd/Window.hl.hx

+ 4 - 0
hxd/Window.hl.hx

@@ -165,6 +165,10 @@ class Window {
 					}
 				#end
 			case Enter:
+				#if hldx
+				// reset cursor to default
+				dx.Cursor.createSystem(Arrow).set();
+				#end
 				event(new Event(EOver));
 			case Leave:
 				event(new Event(EOut));