Explorar o código

fixed resize cursor being kept over window

ncannasse %!s(int64=6) %!d(string=hai) anos
pai
achega
af6fe093bf
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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));