mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-26 17:30:52 +01:00
Updates
This commit is contained in:
parent
4b85e85626
commit
557c773ad9
@ -2508,9 +2508,8 @@ export class RoomEngine extends NitroManager implements IRoomEngine, IRoomCreato
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if(type === MouseEventType.MOUSE_UP)
|
||||
|
||||
else if(type === MouseEventType.MOUSE_UP)
|
||||
{
|
||||
if(this._activeRoomIsDragged)
|
||||
{
|
||||
@ -2543,9 +2542,8 @@ export class RoomEngine extends NitroManager implements IRoomEngine, IRoomCreato
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if(type === MouseEventType.MOUSE_MOVE)
|
||||
|
||||
else if(type === MouseEventType.MOUSE_MOVE)
|
||||
{
|
||||
if(this._activeRoomIsDragged)
|
||||
{
|
||||
@ -2572,9 +2570,8 @@ export class RoomEngine extends NitroManager implements IRoomEngine, IRoomCreato
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if((type === MouseEventType.MOUSE_CLICK) || (type === MouseEventType.DOUBLE_CLICK))
|
||||
|
||||
else if((type === MouseEventType.MOUSE_CLICK) || (type === MouseEventType.DOUBLE_CLICK))
|
||||
{
|
||||
this._activeRoomIsDragged = false;
|
||||
|
||||
@ -2585,9 +2582,6 @@ export class RoomEngine extends NitroManager implements IRoomEngine, IRoomCreato
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user