mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-19 06:51:09 +00:00
- Fixed a bug where moving the mouse outside the window could crash when pasting a selection while having auto dragging enabled. Fixes #110.
This commit is contained in:
parent
fbf4b259d6
commit
22df516e11
1 changed files with 4 additions and 0 deletions
|
@ -394,6 +394,10 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
// This updates the selection
|
||||
private void Update()
|
||||
{
|
||||
// biwa. This is a fix for autodrag, since it will actually fire OnMouseLeave and would crash when Update is called while the
|
||||
// mouse is outside the window. This does *not* happen when dragging without autodrag.
|
||||
if (!mouseinside) return;
|
||||
|
||||
// Not in any modifying mode?
|
||||
if(mode == ModifyMode.None)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue