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
8 1 file changed, 2 insertions(+), 2 deletions(-)
10 diff --git a/extension.js b/extension.js
11 index 346a89a..1eda926 100644
14 @@ -250,8 +250,8 @@ function _showTooltip(actor) {
16 if (!detailtext) { _ttdetail.hide() } else { _ttdetail.show() };
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);