mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-22 22:30:52 +01:00
Another fix
This commit is contained in:
parent
4079d1d92d
commit
728d8c4f4b
@ -19,7 +19,7 @@ export const RoomThumbnailWidgetCameraView: FC<RoomThumbnailWidgetCameraViewProp
|
||||
|
||||
const rectangle = new NitroRectangle(Math.floor(frameBounds.x), Math.floor(frameBounds.y), Math.floor(frameBounds.width), Math.floor(frameBounds.height));
|
||||
|
||||
const image = GetRoomEngine().createRoomScreenshot(GetRoomSession().roomId, 1, rectangle, true, true);
|
||||
const image = GetRoomEngine().createTextureFromRoom(GetRoomSession().roomId, 1, rectangle);
|
||||
|
||||
onCloseClick();
|
||||
}, [ onCloseClick ]);
|
||||
|
Loading…
Reference in New Issue
Block a user