Improvements

This commit is contained in:
qfx 2020-02-16 18:02:20 +02:00
parent 87551314cc
commit 2b2639e19f
2 changed files with 7 additions and 0 deletions

View File

@ -211,6 +211,7 @@ end
input.subscribe = subscription.create
input.__call = subscription.create
function input.eventHandlers.mousereleased(x, y, btn)
local captured = false

View File

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