|
@@ -20,8 +20,8 @@ namespace MeidoPhotoStudio.Converter
|
|
if (!Visible)
|
|
if (!Visible)
|
|
return;
|
|
return;
|
|
|
|
|
|
- windowRect.width = 300f;
|
|
|
|
- windowRect.height = 200f;
|
|
|
|
|
|
+ windowRect.width = 230f;
|
|
|
|
+ windowRect.height = 100f;
|
|
windowRect.x = Mathf.Clamp(windowRect.x, 0, Screen.width - windowRect.width);
|
|
windowRect.x = Mathf.Clamp(windowRect.x, 0, Screen.width - windowRect.width);
|
|
windowRect.y = Mathf.Clamp(windowRect.y, 0, Screen.height - windowRect.height);
|
|
windowRect.y = Mathf.Clamp(windowRect.y, 0, Screen.height - windowRect.height);
|
|
windowRect = GUI.Window(WindowID, windowRect, GUIFunc, WindowTitle);
|
|
windowRect = GUI.Window(WindowID, windowRect, GUIFunc, WindowTitle);
|
|
@@ -33,6 +33,8 @@ namespace MeidoPhotoStudio.Converter
|
|
|
|
|
|
if (GUILayout.Button("Convert"))
|
|
if (GUILayout.Button("Convert"))
|
|
core.Convert();
|
|
core.Convert();
|
|
|
|
+
|
|
|
|
+ GUI.DragWindow();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|