summaryrefslogtreecommitdiff
path: root/translate-widget
diff options
context:
space:
mode:
authorPavel Makhov <pmakhov@theoctavegroup.com>2019-09-30 14:51:31 -0400
committerPavel Makhov <pmakhov@theoctavegroup.com>2019-09-30 14:51:31 -0400
commit097daa7d44bc6eb758c45653b1c24413c4c11fdb (patch)
treeb03529b1267349d3ba9f8ed49a6eccd16b41ee5a /translate-widget
parentddc36b526da1aed222f1e8c15f2b81f027b7cfb6 (diff)
add left/right button click support
Diffstat (limited to 'translate-widget')
-rw-r--r--translate-widget/translate.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/translate-widget/translate.lua b/translate-widget/translate.lua
index 2b64bf8..27f65c7 100644
--- a/translate-widget/translate.lua
+++ b/translate-widget/translate.lua
@@ -106,7 +106,7 @@ local function translate(to_translate, lang)
-- calculate height of the widget
w.height = h1 + h2 + h3 + 20
- -- try to vetrtically align the icon
+ -- try to vertically align the icon
w.left.img:set_top((h1 + h2 + h3 + 20 - 48)/2)
w.visible = true