From 6961492e00b4356647aaf6153b1a72cbf365750f Mon Sep 17 00:00:00 2001 From: TheSumm Date: Fri, 30 Jan 2015 19:56:56 +0100 Subject: [PATCH] Fix console tabs not blinking, closes #627 --- data/styles/20-tabbars.otui | 2 +- modules/corelib/ui/uimovabletabbar.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/styles/20-tabbars.otui b/data/styles/20-tabbars.otui index bb8c6821..06f242dc 100644 --- a/data/styles/20-tabbars.otui +++ b/data/styles/20-tabbars.otui @@ -27,7 +27,7 @@ MoveableTabBarButton < UIButton color: #dfdfdf $on !checked: - color: #dfdfdf + color: #de6f6f TabBar < UITabBar size: 80 21 diff --git a/modules/corelib/ui/uimovabletabbar.lua b/modules/corelib/ui/uimovabletabbar.lua index ad59df79..71c75a60 100644 --- a/modules/corelib/ui/uimovabletabbar.lua +++ b/modules/corelib/ui/uimovabletabbar.lua @@ -187,7 +187,7 @@ local function onTabDragMove(tab, mousePos, mouseMoved) end local function tabBlink(tab, step) - step = step or 0 + local step = step or 0 tab:setOn(not tab:isOn()) removeEvent(tab.blinkEvent)