mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-18 16:04:22 +00:00
Call object:GetDown in button drawing function
This commit is contained in:
parent
e975a11247
commit
d1aee24ded
@ -263,7 +263,7 @@ function skin.DrawButton(object)
|
||||
local font = skin.controls.button_text_font
|
||||
local twidth = font:getWidth(object.text)
|
||||
local theight = font:getHeight(object.text)
|
||||
local down = object.down
|
||||
local down = object:GetDown()
|
||||
local enabled = object:GetEnabled()
|
||||
local clickable = object:GetClickable()
|
||||
local textdowncolor = skin.controls.button_text_down_color
|
||||
|
Loading…
Reference in New Issue
Block a user