Skip to content
Snippets Groups Projects
Commit 0ddeec7e authored by Avery's avatar Avery
Browse files

Bug 1788780 - Remove unused telemetry variables `lastScreenX` and `lastScreenY`. r=kpatenio

parent 3cddbdca
No related branches found
No related tags found
No related merge requests found
......@@ -112,11 +112,8 @@ let Player = {
*/
resizeDebouncer: null,
/**
* Used for window movement Telemetry to determine if the player window has
* moved since the last time we checked.
* Used for Telemetry to identify the window.
*/
lastScreenX: -1,
lastScreenY: -1,
id: -1,
/**
......@@ -245,9 +242,6 @@ let Player = {
});
}, RESIZE_DEBOUNCE_RATE_MS);
this.lastScreenX = window.screenX;
this.lastScreenY = window.screenY;
this.computeAndSetMinimumSize(window.outerWidth, window.outerHeight);
// alwaysontop windows are not focused by default, so we have to do it
......@@ -656,9 +650,6 @@ let Player = {
* Event context details
*/
onMouseUp(event) {
this.lastScreenX = window.screenX;
this.lastScreenY = window.screenY;
// Corner snapping changes start here.
// Check if metakey pressed and macOS
let quadrant = this.determineCurrentQuadrant();
......
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