From 2ef9d01fa42401a2703b29dd7189989b662d079f Mon Sep 17 00:00:00 2001 From: billsonnn Date: Tue, 26 Mar 2024 21:08:36 -0400 Subject: [PATCH] Comment out tint --- packages/room/src/RoomPreviewer.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/room/src/RoomPreviewer.ts b/packages/room/src/RoomPreviewer.ts index 95c4859c..8be57f98 100644 --- a/packages/room/src/RoomPreviewer.ts +++ b/packages/room/src/RoomPreviewer.ts @@ -446,7 +446,7 @@ export class RoomPreviewer backgroundSprite.width = width; backgroundSprite.height = height; - backgroundSprite.tint = this._backgroundColor; + //backgroundSprite.tint = this._backgroundColor; } this._roomEngine.setRoomInstanceRenderingCanvasMask(this._previewRoomId, RoomPreviewer.PREVIEW_CANVAS_ID, true); @@ -494,7 +494,7 @@ export class RoomPreviewer public updatePreviewObjectBoundingRectangle(point: Point = null): void { if(!point) point = new Point(0, 0); - + const objectBounds = this._roomEngine.getRoomObjectBoundingRectangle(this._previewRoomId, RoomPreviewer.PREVIEW_OBJECT_ID, this._currentPreviewObjectCategory, RoomPreviewer.PREVIEW_CANVAS_ID); if(objectBounds && point)