Skip to content

Commit

Permalink
fix(screenshare): screen-share tracker display on Win-OS
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-gavrilescu authored Mar 6, 2020
1 parent fcdcc57 commit 83fd972
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jitsi-meet-electron-utils",
"version": "2.0.0",
"version": "2.0.1",
"description": "Utilities for jitsi-meet-electron project",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion screensharing/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const SCREEN_SHARE_EVENTS_CHANNEL = 'jitsi-screen-sharing-marker';
*/
const TRACKER_SIZE = {
height: 40,
width: 490.
width: 530.
};

/**
Expand Down
6 changes: 3 additions & 3 deletions screensharing/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,16 @@ class ScreenShareMainHook {
this._screenShareTracker = new electron.BrowserWindow({
height: TRACKER_SIZE.height,
width: TRACKER_SIZE.width,
x:(display.bounds.width - TRACKER_SIZE.width) / 2,
y:display.bounds.height - TRACKER_SIZE.height - 10,
x:(display.workArea.width - TRACKER_SIZE.width) / 2,
y:display.workArea.height - TRACKER_SIZE.height - 5,
transparent: true,
minimizable: true,
maximizable: false,
resizable: false,
alwaysOnTop: true,
fullscreen: false,
fullscreenable: false,
skipTaskbar: true,
skipTaskbar: false,
frame: false,
show: false,
webPreferences: {
Expand Down
2 changes: 2 additions & 0 deletions screensharing/screenSharingTracker.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
color: #282a2f;
height: 28px;
margin-right: 16px;
-webkit-app-region: no-drag;
}

#text-container {
Expand All @@ -45,6 +46,7 @@
color: #ababab;
font-family:Arial, Helvetica, sans-serif;
font-size: 13px;
-webkit-app-region: no-drag;
}

#sharing-identity {
Expand Down

0 comments on commit 83fd972

Please sign in to comment.