mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-26 05:14:21 +00:00
Set default value for self.imagecolor
This commit is contained in:
parent
cb6d7ca321
commit
328cd9a642
@ -28,7 +28,7 @@ function newobject:initialize()
|
|||||||
self.sheary = 0
|
self.sheary = 0
|
||||||
self.internal = false
|
self.internal = false
|
||||||
self.image = nil
|
self.image = nil
|
||||||
self.imagecolor = nil
|
self.imagecolor = {255, 255, 255, 255}
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ function newobject:initialize()
|
|||||||
self.clickable = true
|
self.clickable = true
|
||||||
self.enabled = true
|
self.enabled = true
|
||||||
self.image = nil
|
self.image = nil
|
||||||
self.imagecolor = nil
|
self.imagecolor = {255, 255, 255, 255}
|
||||||
self.OnClick = nil
|
self.OnClick = nil
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user