From 097daa7d44bc6eb758c45653b1c24413c4c11fdb Mon Sep 17 00:00:00 2001 From: Pavel Makhov Date: Mon, 30 Sep 2019 14:51:31 -0400 Subject: add left/right button click support --- translate-widget/translate.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'translate-widget') 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 -- cgit v1.2.3