Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Fix #4731, displaying selection's coordinates when resizing
Browse files Browse the repository at this point in the history
  • Loading branch information
testeaxeax committed Sep 7, 2018
1 parent f11d3b3 commit d53a6d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions addon/webextension/selector/uicontrol.js
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,9 @@ this.uicontrol = (function() {

mousemove(event) {
this._resize(event);
if (resizeDirection !== "move") {
ui.PixelDimensions.display(event.pageX, event.pageY, event.pageX, event.pageY);
}
return false;
},

Expand Down Expand Up @@ -728,6 +731,7 @@ this.uicontrol = (function() {
end() {
resizeDirection = resizeStartPos = resizeStartSelected = null;
selectedPos.sortCoords();
ui.PixelDimensions.remove();
}
};

Expand Down

0 comments on commit d53a6d2

Please sign in to comment.