Another fix

This commit is contained in:
Bill 2021-08-03 16:44:07 -04:00
parent 4079d1d92d
commit 728d8c4f4b

View File

@ -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 ]);