Skip to content
Snippets Groups Projects
Commit 7905aad8 authored by Richard Alam's avatar Richard Alam
Browse files

- create new location...there should be a better way to do this but need to do it quickly

parent 4bad11b5
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,8 @@
public static const RIGHT:String = "RIGHT_WINDOW";
public static const POPUP:String = "POP_UP_WINDOW";
public static const DESKTOP_SHARING_VIEW:String = "POP_UP_DESKSHARE";
public static const DESKTOP_SHARING_VIEW:String = "POP_UP_DESKSHARE_VIEW";
public static const DESKTOP_SHARING_PUBLISH:String = "POP_UP_DESKSHARE_PUBLISH";
private var leftWindowWidth:Number;
private var leftWindowHeight:Number;
......@@ -102,6 +103,10 @@
if (x < 250) x = 1;
if (y < 250) y = 1;
break;
case DESKTOP_SHARING_PUBLISH:
y = (this.height - win.height) / 2;
x = (this.width - win.width) / 2;
break;
case DESKTOP_SHARING_VIEW:
x = 1;
y = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment