Version 0.991 BETA

This commit is contained in:
OTCv8
2019-10-07 15:52:55 +02:00
parent bc977c268e
commit c5c600e83e
12 changed files with 57 additions and 22 deletions

View File

@@ -55,10 +55,6 @@ function HTTP.downloadImage(url, callback)
return operation
end
function HTTP.progress(operationId)
return g_http.getProgress(operationId)
end
function HTTP.cancel(operationId)
return g_http.cancel(operationId)
end

View File

@@ -62,7 +62,6 @@ function g_tooltip.init()
toolTipLabel:setBackgroundColor('#111111cc')
toolTipLabel:setTextAlign(AlignCenter)
toolTipLabel:hide()
toolTipLabel.onMouseMove = function() moveToolTip() end
end)
end
@@ -89,10 +88,18 @@ function g_tooltip.display(text)
toolTipLabel:enable()
g_effects.fadeIn(toolTipLabel, 100)
moveToolTip(true)
connect(rootWidget, {
onMouseMove = moveToolTip,
})
end
function g_tooltip.hide()
g_effects.fadeOut(toolTipLabel, 100)
disconnect(rootWidget, {
onMouseMove = moveToolTip,
})
end