Browse Source

Fix console tabs not blinking, closes #627

TheSumm 6 years ago
parent
commit
6961492e00
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      data/styles/20-tabbars.otui
  2. 1
    1
      modules/corelib/ui/uimovabletabbar.lua

+ 1
- 1
data/styles/20-tabbars.otui View File

@@ -27,7 +27,7 @@ MoveableTabBarButton < UIButton
27 27
     color: #dfdfdf
28 28
 
29 29
   $on !checked:
30
-    color: #dfdfdf
30
+    color: #de6f6f
31 31
 
32 32
 TabBar < UITabBar
33 33
   size: 80 21

+ 1
- 1
modules/corelib/ui/uimovabletabbar.lua View File

@@ -187,7 +187,7 @@ local function onTabDragMove(tab, mousePos, mouseMoved)
187 187
 end
188 188
 
189 189
 local function tabBlink(tab, step)
190
-  step = step or 0
190
+  local step = step or 0
191 191
   tab:setOn(not tab:isOn())
192 192
 
193 193
   removeEvent(tab.blinkEvent)

Loading…
Cancel
Save