From f4300418a4f61af26e33281c241476cbad5e1c28 Mon Sep 17 00:00:00 2001 From: Alexander Sedov <alex0player@gmail.com> Date: Sat, 24 Jan 2015 17:15:52 +0300 Subject: [PATCH] I shouldn't meddle with powers beyond my understanding... --- game/engines/default/engine/ui/Tab.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/game/engines/default/engine/ui/Tab.lua b/game/engines/default/engine/ui/Tab.lua index 1f564068e0..3621198b46 100644 --- a/game/engines/default/engine/ui/Tab.lua +++ b/game/engines/default/engine/ui/Tab.lua @@ -72,7 +72,6 @@ function _M:generate() self.h = self.h + 6 end ---[[ function _M:drawFrame(f, x, y, r, g, b, a) -- Sides f.b8.t:toScreenFull(x + f.b7.w, y, f.w - f.b7.w - f.b9.w + 1, f.b8.h, f.b8.tw, f.b8.th, r, g, b, a) @@ -86,7 +85,7 @@ function _M:drawFrame(f, x, y, r, g, b, a) -- Corners f.b7.t:toScreenFull(x, y, f.b7.w, f.b7.h, f.b7.tw, f.b7.th, r, g, b, a) f.b9.t:toScreenFull(x + f.w - f.b9.w, y, f.b9.w, f.b9.h, f.b9.tw, f.b9.th, r, g, b, a) -end]] +end function _M:select() self.selected = true -- GitLab