Prechádzať zdrojové kódy

reset cursor when current over interactive is removed

ncannasse 9 rokov pred
rodič
commit
b3ae190951
1 zmenil súbory, kde vykonal 3 pridanie a 1 odobranie
  1. 3 1
      hxd/SceneEvents.hx

+ 3 - 1
hxd/SceneEvents.hx

@@ -39,8 +39,10 @@ class SceneEvents {
 	function onRemove(i) {
 		if( i == currentFocus )
 			currentFocus = null;
-		if( i == currentOver )
+		if( i == currentOver ) {
 			currentOver = null;
+			hxd.System.setCursor(Default);
+		}
 		pushList.remove(i);
 	}