mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-18 16:04:22 +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)
|
||||
================================================
|
||||
|
12
init.lua
12
init.lua
@ -8,9 +8,9 @@ loveframes = {}
|
||||
|
||||
-- library info
|
||||
loveframes.info = {}
|
||||
loveframes.info.author = "Nikolai Resokav"
|
||||
loveframes.info.version = "0.9.2.2"
|
||||
loveframes.info.stage = "Alpha"
|
||||
loveframes.info.author = "Nikolai Resokav"
|
||||
loveframes.info.version = "0.9.2.3"
|
||||
loveframes.info.stage = "Alpha"
|
||||
|
||||
-- library configurations
|
||||
loveframes.config = {}
|
||||
@ -20,9 +20,9 @@ loveframes.config["ACTIVESKIN"] = "Blue"
|
||||
loveframes.config["INDEXSKINIMAGES"] = true
|
||||
loveframes.config["DEBUG"] = true
|
||||
|
||||
loveframes.drawcount = 0
|
||||
loveframes.hoverobject = false
|
||||
loveframes.modalobject = false
|
||||
loveframes.drawcount = 0
|
||||
loveframes.hoverobject = false
|
||||
loveframes.modalobject = false
|
||||
|
||||
--[[---------------------------------------------------------
|
||||
- func: load()
|
||||
|
@ -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