mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2025-01-18 14:36:26 +01:00
Comment out tint
This commit is contained in:
parent
a445f91fdc
commit
2ef9d01fa4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user