mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-26 05:14:21 +00:00
Version 0.9.2.3 - Alpha (see changelog.txt)
This commit is contained in:
parent
7ce4ccbaf6
commit
9aa5b866af
@ -1,3 +1,10 @@
|
||||
================================================
|
||||
Version 0.9.2.3 - Alpha (May 27 - 2012)
|
||||
================================================
|
||||
[FIXED] imagebutton.OnClick not working
|
||||
[FIXED] text being added into the text input object at incorrect positions when the value of textinput.blinknum was 0
|
||||
[FIXED] a bug that would cause an error when running SetVisible on a frame object when the value of frame.showclose was true
|
||||
|
||||
================================================
|
||||
Version 0.9.2.2 - Alpha (May 23 - 2012)
|
||||
================================================
|
||||
|
2
init.lua
2
init.lua
@ -9,7 +9,7 @@ loveframes = {}
|
||||
-- library info
|
||||
loveframes.info = {}
|
||||
loveframes.info.author = "Nikolai Resokav"
|
||||
loveframes.info.version = "0.9.2.2"
|
||||
loveframes.info.version = "0.9.2.3"
|
||||
loveframes.info.stage = "Alpha"
|
||||
|
||||
-- library configurations
|
||||
|
@ -437,7 +437,7 @@ function frame:SetVisible(bool)
|
||||
end
|
||||
|
||||
if self.showclose == true then
|
||||
closebutton[1].visible = bool
|
||||
closebutton.visible = bool
|
||||
end
|
||||
|
||||
end
|
@ -146,7 +146,7 @@ function imagebutton:mousereleased(x, y, button)
|
||||
local clickable = self.clickable
|
||||
local enabled = self.enabled
|
||||
|
||||
if hover == true and down == true and imagebutton == "l" and clickable == true then
|
||||
if hover == true and down == true and button == "l" and clickable == true then
|
||||
if enabled == true then
|
||||
if self.OnClick then
|
||||
self.OnClick(self, x, y)
|
||||
|
@ -286,9 +286,12 @@ function textinput:RunKey(key, unicode)
|
||||
if blinknum ~= 0 and blinknum ~= #self.text then
|
||||
self.text = self:AddIntoText(unicode, blinknum)
|
||||
self:MoveBlinker(1)
|
||||
else
|
||||
elseif blinknum == #self.text then
|
||||
self.text = text .. ckey
|
||||
self:MoveBlinker(1)
|
||||
elseif blinknum == 0 then
|
||||
self.text = self:AddIntoText(unicode, blinknum)
|
||||
self:MoveBlinker(1)
|
||||
end
|
||||
|
||||
if self.OnTextEntered then
|
||||
|
Loading…
Reference in New Issue
Block a user