Avoid variable redeclaration
https://bugzilla.gnome.org/show_bug.cgi?id=603327
This commit is contained in:
parent
7b0526dc5c
commit
368d484dee
@ -496,7 +496,7 @@ WindowOverlay.prototype = {
|
|||||||
|
|
||||||
let closeNode = this.closeButton.get_theme_node();
|
let closeNode = this.closeButton.get_theme_node();
|
||||||
|
|
||||||
let [success, len] = closeNode.get_length('-shell-close-overlap',
|
[success, len] = closeNode.get_length('-shell-close-overlap',
|
||||||
false);
|
false);
|
||||||
if (success)
|
if (success)
|
||||||
this.closeButton._overlap = len;
|
this.closeButton._overlap = len;
|
||||||
|
Loading…
Reference in New Issue
Block a user