Merge pull request #4278 from ritzalam/minor-ui-adjustments
- reposition screen share publish window
This commit is contained in:
commit
043d8f2867
@ -557,8 +557,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
public function openShortcutHelpWindow(e:Event = null):void{
|
||||
if (scWindow == null) {
|
||||
scWindow = new ShortcutHelpWindow();
|
||||
scWindow.width = 300;
|
||||
scWindow.height = 300;
|
||||
scWindow.width = 450;
|
||||
scWindow.height = 550;
|
||||
}
|
||||
|
||||
if (scWindow.minimized)
|
||||
@ -568,7 +568,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
scWindow.restore();
|
||||
|
||||
mdiCanvas.windowManager.add(scWindow);
|
||||
mdiCanvas.windowManager.absPos(scWindow, mdiCanvas.width/2 - 150, mdiCanvas.height/2 - 150);
|
||||
mdiCanvas.windowManager.absPos(scWindow, mdiCanvas.width/2 - 250, mdiCanvas.height/2 - 250);
|
||||
|
||||
scWindow.focusHead();
|
||||
}
|
||||
|
@ -199,8 +199,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
if (y < 0) y = 1;
|
||||
break;
|
||||
case DESKTOP_SHARING_PUBLISH:
|
||||
x = centerWindowWidth - win.width / 2;
|
||||
y = centerWindowHeight - win.height / 2;
|
||||
x = centerWindowWidth - win.width;
|
||||
y = centerWindowHeight - win.height / 8;
|
||||
break;
|
||||
case DESKTOP_SHARING_VIEW:
|
||||
x = centerWindowWidth - win.width / 2;
|
||||
|
Loading…
Reference in New Issue
Block a user