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