mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- markers are now created at the proper alpha instead of 100%
This commit is contained in:
@ -1490,7 +1490,7 @@ function IceBarElement.prototype:CreateMarker(idx)
|
|||||||
self.Markers[idx] = self:BarFactory(self.Markers[idx], "MEDIUM", "OVERLAY")
|
self.Markers[idx] = self:BarFactory(self.Markers[idx], "MEDIUM", "OVERLAY")
|
||||||
|
|
||||||
local color = self.moduleSettings.markers[idx].color
|
local color = self.moduleSettings.markers[idx].color
|
||||||
self.Markers[idx].bar:SetVertexColor(color.r, color.g, color.b, color.a)
|
self.Markers[idx].bar:SetVertexColor(color.r, color.g, color.b, self.alpha)
|
||||||
|
|
||||||
self:UpdateMarker(idx)
|
self:UpdateMarker(idx)
|
||||||
self:PositionMarker(idx, self.moduleSettings.markers[idx].position)
|
self:PositionMarker(idx, self.moduleSettings.markers[idx].position)
|
||||||
|
Reference in New Issue
Block a user