mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-21 19:31:05 +00:00
Fixed some issues with keys and scrollwheel input after a dialog window has been shown
This commit is contained in:
parent
173a2cb055
commit
2d926198a9
2 changed files with 11 additions and 4 deletions
|
@ -1057,6 +1057,8 @@ namespace CodeImp.DoomBuilder
|
|||
// Open map file
|
||||
OpenMapFile(openfile.FileName);
|
||||
}
|
||||
|
||||
openfile.Dispose();
|
||||
}
|
||||
|
||||
// This opens the specified file
|
||||
|
@ -1238,6 +1240,7 @@ namespace CodeImp.DoomBuilder
|
|||
Cursor.Current = Cursors.Default;
|
||||
}
|
||||
|
||||
savefile.Dispose();
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -1294,6 +1297,7 @@ namespace CodeImp.DoomBuilder
|
|||
Cursor.Current = Cursors.Default;
|
||||
}
|
||||
|
||||
savefile.Dispose();
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
@ -412,6 +412,9 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
// Release all pressed keys
|
||||
General.Actions.ReleaseAllKeys();
|
||||
mousebuttons = MouseButtons.None;
|
||||
shift = false;
|
||||
ctrl = false;
|
||||
alt = false;
|
||||
|
||||
// Stop exclusive mouse input
|
||||
BreakExclusiveMouseInput();
|
||||
|
|
Loading…
Reference in a new issue