Add typings and fix code style

This commit is contained in:
Ian Paschal 2018-09-06 16:57:45 +02:00
parent 53d083e232
commit 4cc1b6ce02
9 changed files with 61 additions and 39 deletions

View file

@ -357,7 +357,14 @@ Component
function switchPopupState()
{
popup.visible ? popup.close() : popup.open()
if (popup.visible)
{
popup.close()
}
else
{
popup.open()
}
}
Controls2.Button