Explorar el Código

fixed resize cursor being kept over window

ncannasse hace 6 años
padre
commit
af6fe093bf
Se han modificado 1 ficheros con 4 adiciones y 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));