Skip to content

Commit

Permalink
1 - Adjust jitsi popup up position
Browse files Browse the repository at this point in the history
  • Loading branch information
YglesEyes committed Sep 12, 2023
1 parent d987f99 commit 60a4f0c
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions core/modules/meet/client/meet.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,25 @@ const onZoneEntered = e => {
const meetingRoomService = jitsiLowLevel ? meetLowLevel : meetHighLevel;
meetingRoom.setMeetingRoomService(meetingRoomService);

const containerId = '.resizableMeet';
const resizable = document.querySelector(containerId);
const cornerResizers = document.querySelectorAll(`${containerId} .corner-resizer`);
const widthResizers = document.querySelector(`${containerId} .width-resizers`);

resizable.style.top = '0%';
resizable.style.left = '25%';
resizable.style.height = '50%';
resizable.style.width = '50%';
cornerResizers.forEach(resizer => resizer.classList.add('show'));
widthResizers.classList.remove('show');

Session.set('screenMode', 'unlocked');
Session.set('screenSide', 'right');

updateViewport(game.scene.keys.WorldScene);
updateViewport(game.scene.keys.UIScene);
if (roomName && roomName !== '') {
const containerId = '.resizableMeet';
const resizable = document.querySelector(containerId);
const cornerResizers = document.querySelectorAll(`${containerId} .corner-resizer`);
const widthResizers = document.querySelector(`${containerId} .width-resizers`);

resizable.style.top = '0%';
resizable.style.left = '25%';
resizable.style.height = '40%';
resizable.style.width = '50%';
cornerResizers.forEach(resizer => resizer.classList.add('show'));
widthResizers.classList.remove('show');

Session.set('screenMode', 'unlocked');
Session.set('screenSide', 'right');

updateViewport(game.scene.keys.WorldScene);
updateViewport(game.scene.keys.UIScene);
}

if (!meetingRoomService.api && roomName) {
const user = Meteor.user();
Expand Down

0 comments on commit 60a4f0c

Please sign in to comment.