Another fix

This commit is contained in:
Bill 2021-08-17 17:53:49 -04:00
parent 76e9fad2fd
commit 724156632f

View File

@ -914,7 +914,7 @@ export class RoomObjectEventHandler extends Disposable implements IRoomCanvasMou
const objectCategory = this._roomEngine.getRoomObjectCategoryForType(event.objectType);
const selectedData = this.getSelectedRoomObjectData(roomId);
if(!selectedData)
if(selectedData)
{
if((selectedData.category === objectCategory) && (selectedData.id === event.objectId))
{