mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-12-11 07:24:24 +00:00
Version 0.9.4.7 - Alpha (see changelog.txt)
This commit is contained in:
parent
105fcc31cc
commit
a2bc25e520
@ -1,3 +1,10 @@
|
||||
================================================
|
||||
Version 0.9.4.7 - Alpha (December 19 - 2012)
|
||||
================================================
|
||||
[FIXED] textinput:SetFocus(focus) not working properly
|
||||
|
||||
[CHANGED] the tooltip object is now positionable via the standard positioning methods when not set to follow the cursor
|
||||
|
||||
================================================
|
||||
Version 0.9.4.6 - Alpha (December 10 - 2012)
|
||||
================================================
|
||||
|
@ -124,7 +124,7 @@ end
|
||||
|
||||
--[[---------------------------------------------------------
|
||||
- func: ExamplesMenu()
|
||||
- desc: generates a list of examples of LÖVE Frames
|
||||
- desc: generates a list of examples of Love Frames
|
||||
objects
|
||||
--]]---------------------------------------------------------
|
||||
function loveframes.debug.ExamplesMenu()
|
||||
|
2
init.lua
2
init.lua
@ -9,7 +9,7 @@ loveframes = {}
|
||||
-- library info
|
||||
loveframes.info = {}
|
||||
loveframes.info.author = "Kenny Shields"
|
||||
loveframes.info.version = "0.9.4.6"
|
||||
loveframes.info.version = "0.9.4.7"
|
||||
loveframes.info.stage = "Alpha"
|
||||
|
||||
-- library configurations
|
||||
|
@ -85,9 +85,6 @@ function newobject:update(dt)
|
||||
local x, y = love.mouse.getPosition()
|
||||
self.x = x + self.xoffset
|
||||
self.y = y - self.height + self.yoffset
|
||||
else
|
||||
self.x = object.x + self.xoffset
|
||||
self.y = object.y - self.height + self.yoffset
|
||||
end
|
||||
|
||||
if not top then
|
||||
@ -176,6 +173,8 @@ end
|
||||
function newobject:SetObject(object)
|
||||
|
||||
self.object = object
|
||||
self.x = object.x
|
||||
self.y = object.y
|
||||
|
||||
end
|
||||
|
||||
|
@ -1062,19 +1062,19 @@ function newobject:SetFocus(focus)
|
||||
self.focus = focus
|
||||
|
||||
if focus then
|
||||
loveframes.inputobject = self
|
||||
if onfocusgained then
|
||||
onfocusgained(self)
|
||||
end
|
||||
else
|
||||
if inputobject == self then
|
||||
loveframes.inputobject = false
|
||||
end
|
||||
if onfocuslost then
|
||||
onfocuslost(self)
|
||||
end
|
||||
end
|
||||
|
||||
if inputobject == self then
|
||||
loveframes.inputobject = false
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
--[[---------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user