浏览代码

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

Maurice Doison 3 年之前
父节点
当前提交
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