mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-09 06:15:49 +02:00
Fix maximization resetting restore location and size
This commit is contained in:
parent
95fba6a99a
commit
a6e40be79e
@ -124,8 +124,12 @@ private void FormBrowser_ResizeEnd(object sender, EventArgs e){ // also triggers
|
||||
|
||||
if (Location.X != -32000){
|
||||
Config.IsMaximized = WindowState == FormWindowState.Maximized;
|
||||
Config.WindowLocation = Location;
|
||||
Config.WindowSize = Size;
|
||||
|
||||
if (WindowState == FormWindowState.Normal){
|
||||
Config.WindowLocation = Location;
|
||||
Config.WindowSize = Size;
|
||||
}
|
||||
|
||||
Config.Save();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user