Version 0.9.4.7 - Alpha (see changelog.txt)

This commit is contained in:
Kenny Shields 2012-12-19 23:00:19 -05:00
parent 105fcc31cc
commit a2bc25e520
5 changed files with 15 additions and 9 deletions

View File

@ -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)
================================================

View File

@ -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()

View File

@ -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

View File

@ -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

View File

@ -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
--[[---------------------------------------------------------