mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2025-01-18 22:36:27 +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