0ed36b288f0e8ed6765e37689c7640a363f900a0
[gentoo.git] /
1 From 27af671cca3fc6b9dd5c8687c1b3d0d530ccc516 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rapha=C3=ABl=20Rochet?= <raphael@rri.fr>
3 Date: Sun, 23 Sep 2018 16:39:36 +0200
4 Subject: [PATCH] Fix JS warning
5
6 ---
7  extension.js | 4 ++--
8  1 file changed, 2 insertions(+), 2 deletions(-)
9
10 diff --git a/extension.js b/extension.js
11 index 346a89a..1eda926 100644
12 --- a/extension.js
13 +++ b/extension.js
14 @@ -250,8 +250,8 @@ function _showTooltip(actor) {
15  
16                 if (!detailtext) { _ttdetail.hide() } else { _ttdetail.show() };
17  
18 -               [stageX, stageY] = actor.get_transformed_position();
19 -               [iconWidth, iconHeight] = actor.get_transformed_size();
20 +               let [stageX, stageY] = actor.get_transformed_position();
21 +               let [iconWidth, iconHeight] = actor.get_transformed_size();
22                 let y = stageY + iconHeight + 5;
23                 let x = stageX - Math.round((_ttbox.get_width() - iconWidth)/2);
24