mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 855504 - [font inspector] Selecting text in the font inspector is hard. r=vporof
This commit is contained in:
parent
96837b0120
commit
32a9867c14
@ -148,6 +148,11 @@ ToolSidebar.prototype = {
|
||||
*/
|
||||
handleEvent: function ToolSidebar_eventHandler(event) {
|
||||
if (event.type == "select") {
|
||||
if (this._currentTool == this.getCurrentTabID()) {
|
||||
// Tool hasn't changed.
|
||||
return;
|
||||
}
|
||||
|
||||
let previousTool = this._currentTool;
|
||||
this._currentTool = this.getCurrentTabID();
|
||||
if (previousTool) {
|
||||
|
Loading…
Reference in New Issue
Block a user