2
0
Эх сурвалжийг харах

On fullset set, use current monitor instead of system default monitor when it's not set (#1009)

Maurice Doison 3 жил өмнө
parent
commit
e7ccac46e1
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      hxd/Window.hl.hx

+ 1 - 1
hxd/Window.hl.hx

@@ -546,7 +546,7 @@ class Window {
 	}
 
 	function selectedMonitor() : Dynamic {
-		var m = if(monitor == null) 0 else monitor;
+		var m = if(monitor == null) currentMonitorIndex else monitor;
 		#if hldx
 		return dx.Window.getMonitors()[m];
 		#elseif hlsdl