fixed main window spawning off-screen.

This commit is contained in:
morkt 2015-02-15 19:48:16 +04:00
parent 4b28197c37
commit 24659063f9

View File

@ -61,6 +61,8 @@ namespace GARbro.GUI
{ {
m_app = Application.Current as App; m_app = Application.Current as App;
InitializeComponent(); InitializeComponent();
if (this.Top < 0) this.Top = 0;
if (this.Left < 0) this.Left = 0;
InitDirectoryChangesWatcher(); InitDirectoryChangesWatcher();
InitPreviewPane(); InitPreviewPane();