mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2025-01-19 06:46:28 +01:00
Another fix
This commit is contained in:
parent
76e9fad2fd
commit
724156632f
@ -914,7 +914,7 @@ export class RoomObjectEventHandler extends Disposable implements IRoomCanvasMou
|
|||||||
const objectCategory = this._roomEngine.getRoomObjectCategoryForType(event.objectType);
|
const objectCategory = this._roomEngine.getRoomObjectCategoryForType(event.objectType);
|
||||||
const selectedData = this.getSelectedRoomObjectData(roomId);
|
const selectedData = this.getSelectedRoomObjectData(roomId);
|
||||||
|
|
||||||
if(!selectedData)
|
if(selectedData)
|
||||||
{
|
{
|
||||||
if((selectedData.category === objectCategory) && (selectedData.id === event.objectId))
|
if((selectedData.category === objectCategory) && (selectedData.id === event.objectId))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user