update
This commit is contained in:
@@ -40,7 +40,7 @@ function Button:render()
|
||||
|
||||
local ass = assdraw.ass_new()
|
||||
local is_clickable = self.is_clickable and self.on_click ~= nil
|
||||
local is_hover = self.proximity_raw == 0
|
||||
local is_hover = self.proximity_raw <= 0
|
||||
local foreground = self.active and self.background or self.foreground
|
||||
local background = self.active and self.foreground or self.background
|
||||
local background_opacity = self.active and 1 or config.opacity.controls
|
||||
@@ -97,4 +97,4 @@ function Button:render()
|
||||
return ass
|
||||
end
|
||||
|
||||
return Button
|
||||
return Button
|
||||
Reference in New Issue
Block a user