mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-26 05:14:21 +00:00
added loveframes.util.GetHoverObject
This commit is contained in:
parent
072918fbea
commit
c9f3d785cb
@ -14,6 +14,7 @@ Version 0.9.6.4 - Alpha (Release Date TBD)
|
||||
[ADDED] a new textinput method: SetMaskChar(char)
|
||||
[ADDED] a new textinput method: GetMaskChar()
|
||||
[ADDED] a new util library function: TableHasValue(table, value)
|
||||
[ADDED] a new util library function: GetHoverObject()
|
||||
[ADDED] a new callback: textinput(text)
|
||||
[ADDED] basic clipboard support for the textinput object (0.9.0 only)
|
||||
[ADDED] custom cursor support for the textinput object
|
||||
|
@ -715,6 +715,7 @@ function newobject:IsTopCollision()
|
||||
local found = false
|
||||
local top = true
|
||||
|
||||
|
||||
for k, v in ipairs(cols) do
|
||||
if v == self then
|
||||
found = true
|
||||
|
10
util.lua
10
util.lua
@ -350,4 +350,14 @@ function loveframes.util.DeepCopy(orig)
|
||||
copy = orig
|
||||
end
|
||||
return copy
|
||||
end
|
||||
|
||||
--[[---------------------------------------------------------
|
||||
- func: loveframes.util.GetHoverObject()
|
||||
- desc: returns loveframes.hoverobject
|
||||
--]]---------------------------------------------------------
|
||||
function loveframes.util.GetHoverObject()
|
||||
|
||||
return loveframes.hoverobject
|
||||
|
||||
end
|
Loading…
Reference in New Issue
Block a user