Change out of range color for action buttons

Updated out of range color for action buttons to a darker red.
This commit is contained in:
Dusk-92
2026-07-31 10:18:25 +02:00
committed by GitHub
parent 15280c7ff5
commit 0cf3e01dbb
+1 -1
View File
@@ -18,7 +18,7 @@ module.enable = function(self)
if ( this.rangeTimer <= 0.2 ) then -- 0.1
if ( IsActionInRange( ActionButton_GetPagedID(this)) == 0 ) then
if not this.a then
this.r,this.g,this.b,this.a = 1, 0.2, 0.05, 1 -- out of range colour
this.r,this.g,this.b,this.a = 0.85, 0.18, 0.18, 1 -- out of range colour
end
_G[this:GetName() .. 'Icon']:SetVertexColor(this.r, this.g, this.b, this.a)
elseif IsUsableAction(ActionButton_GetPagedID(this)) then