mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-27 08:00:51 +01:00
Update room tools
This commit is contained in:
parent
44421f7267
commit
8bb27646de
@ -50,7 +50,7 @@ export const RoomView: FC<RoomViewProps> = props =>
|
|||||||
GetNitroInstance().renderer.resize(window.innerWidth, window.innerHeight);
|
GetNitroInstance().renderer.resize(window.innerWidth, window.innerHeight);
|
||||||
|
|
||||||
const canvasId = 1;
|
const canvasId = 1;
|
||||||
|
|
||||||
const displayObject = GetRoomEngine().getRoomInstanceDisplay(roomSession.roomId, canvasId, GetNitroInstance().width, GetNitroInstance().height, RoomGeometry.SCALE_ZOOMED_IN);
|
const displayObject = GetRoomEngine().getRoomInstanceDisplay(roomSession.roomId, canvasId, GetNitroInstance().width, GetNitroInstance().height, RoomGeometry.SCALE_ZOOMED_IN);
|
||||||
|
|
||||||
if(!displayObject) return;
|
if(!displayObject) return;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
.nitro-room-tools {
|
.nitro-room-tools {
|
||||||
position: fixed;
|
position: absolute;
|
||||||
bottom: 125px;
|
bottom: 125px;
|
||||||
left: -133px;
|
left: -133px;
|
||||||
background: rgba($dark,.95);
|
background: rgba($dark,.95);
|
||||||
|
Loading…
Reference in New Issue
Block a user