fix yet again
This commit is contained in:
parent
44bf21ab05
commit
be8df65b9d
File diff suppressed because one or more lines are too long
|
|
@ -77,6 +77,7 @@ namespace HeavenStudio
|
|||
|
||||
public void SetPosition(System.IntPtr ptr, short x, short y, short resX, short resY)
|
||||
{
|
||||
if(Application.isEditor && !Editor.Editor.instance.fullscreen && (pan != defaultPan | scale != defaultScale)) Reset();
|
||||
if(Application.isEditor || !Editor.Editor.instance.fullscreen) return;
|
||||
SetWindowPos(ptr, HWND_NOTOPMOST, x, y, resX, resY, SWP_SHOWWINDOW);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue