mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-22 23:50:52 +01:00
Update RoomPreviewer
This commit is contained in:
parent
ae030d088f
commit
f33b6bd96e
@ -850,4 +850,14 @@ export class RoomPreviewer
|
||||
{
|
||||
this._backgroundColor = color;
|
||||
}
|
||||
|
||||
public get width(): number
|
||||
{
|
||||
return this._currentPreviewCanvasWidth;
|
||||
}
|
||||
|
||||
public get height(): number
|
||||
{
|
||||
return this._currentPreviewCanvasHeight;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user