mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- Fixed: Markers stuck in inverted mode.
This commit is contained in:
@ -1474,7 +1474,7 @@ end
|
||||
function IceBarElement.prototype:PositionMarker(idx, pos)
|
||||
assert(idx > 0 and #self.Markers >= idx and self.Markers[idx] and self.Markers[idx].bar and #self.moduleSettings.markers >= idx,
|
||||
"Bad marker passed to PositionMarker. idx="..idx..", #Markers="..#self.Markers..", #settings.markers="..#self.moduleSettings.markers)
|
||||
if self.moduleSettings.inverse then
|
||||
if (self.moduleSettings.inverse == "INVERSE") then
|
||||
pos = pos * -1
|
||||
end
|
||||
local coordPos = 0.5 + pos
|
||||
|
Reference in New Issue
Block a user