Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

Commit

Permalink
Account for taskbar etc. in pop-up offset.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jip de Beer committed Apr 30, 2020
1 parent 49bf323 commit fc1e5da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extension/src/inject/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ const multiviewSelection = new Set();
const toolbarHeight = window.outerHeight - window.innerHeight;
const popupWidth = 480;
const popupHeight = 270 + toolbarHeight;
var xOffset = 0,
yOffset = 0;
var xOffset = screen.availLeft,
yOffset = screen.availTop;

const extId = chrome.runtime.id;

Expand Down

0 comments on commit fc1e5da

Please sign in to comment.