Skip to content

Commit 6708513

Browse files
matheussflibergod
authored andcommitted
wip: start fixing cooldowns bar..
1 parent 2e6c9c5 commit 6708513

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

modules/game_cooldown/cooldown.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,9 @@ function onSpellGroupCooldown(groupId, duration)
225225
return
226226
end
227227

228+
print('onSpellGroupCooldown: ' .. groupId)
228229
local icon = contentsPanel:getChildById('groupIcon' .. SpellGroups[groupId])
230+
print("Progress Rect: " .. 'progressRect' .. SpellGroups[groupId])
229231
local progressRect = contentsPanel:getChildById('progressRect' .. SpellGroups[groupId])
230232
if icon then
231233
icon:setOn(true)

modules/game_cooldown/cooldown.otui

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Panel
119119
!tooltip: tr('Focus')
120120

121121
SpellGroupIcon
122-
id: groupIconUltimateStrike
122+
id: groupIconUltimateStrikes
123123
image-clip: 120 0 20 20
124124
anchors.top: parent.top
125125
anchors.left: groupIconFocus.right
@@ -128,15 +128,15 @@ Panel
128128
image-clip: 120 20 20 20
129129

130130
SpellProgressRect
131-
id: progressRectUltimateStrike
132-
anchors.fill: groupIconUltimateStrike
131+
id: progressRectUltimateStrikes
132+
anchors.fill: groupIconUltimateStrikes
133133
!tooltip: tr('Ultimate Strike')
134134

135135
SpellGroupIcon
136136
id: groupIconGreatBeams
137137
image-clip: 140 0 20 20
138138
anchors.top: parent.top
139-
anchors.left: groupIconUltimateStrike.right
139+
anchors.left: groupIconUltimateStrikes.right
140140
margin-left: 3
141141
$on:
142142
image-clip: 140 20 20 20

0 commit comments

Comments
 (0)