Improvements
This commit is contained in:
parent
87551314cc
commit
2b2639e19f
@ -211,6 +211,7 @@ end
|
|||||||
|
|
||||||
input.subscribe = subscription.create
|
input.subscribe = subscription.create
|
||||||
|
|
||||||
|
input.__call = subscription.create
|
||||||
|
|
||||||
function input.eventHandlers.mousereleased(x, y, btn)
|
function input.eventHandlers.mousereleased(x, y, btn)
|
||||||
local captured = false
|
local captured = false
|
||||||
|
|||||||
6
init.lua
6
init.lua
@ -12,6 +12,12 @@ helium.input = require(path..".core.input")
|
|||||||
helium.loader = require(path..".loader")
|
helium.loader = require(path..".loader")
|
||||||
helium.elementBuffer = {}
|
helium.elementBuffer = {}
|
||||||
|
|
||||||
|
helium.__call = function(chunk)
|
||||||
|
return function(param,w,h)
|
||||||
|
return helium.element(chunk,nil,w,h,param)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
function helium.render()
|
function helium.render()
|
||||||
--We don't want any side effects affecting internal rendering
|
--We don't want any side effects affecting internal rendering
|
||||||
love.graphics.reset()
|
love.graphics.reset()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user