mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 817705 - [toolbox] Disable Inspect Mode when switching tools in Toolbox. r=jwalker
This commit is contained in:
parent
93b0b66cde
commit
82ed536ba8
@ -139,8 +139,13 @@ Highlighter.prototype = {
|
|||||||
|
|
||||||
this.onToolSelected = function(event, id) {
|
this.onToolSelected = function(event, id) {
|
||||||
if (id != "inspector") {
|
if (id != "inspector") {
|
||||||
|
this.chromeWin.clearTimeout(this.pageEventsMuter);
|
||||||
|
this.detachMouseListeners();
|
||||||
this.hide();
|
this.hide();
|
||||||
} else {
|
} else {
|
||||||
|
if (!this.locked) {
|
||||||
|
this.attachMouseListeners();
|
||||||
|
}
|
||||||
this.show();
|
this.show();
|
||||||
}
|
}
|
||||||
}.bind(this);
|
}.bind(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user