mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 09:47:50 -06:00
Add typings and fix code style
This commit is contained in:
parent
53d083e232
commit
4cc1b6ce02
9 changed files with 61 additions and 39 deletions
|
@ -357,7 +357,14 @@ Component
|
|||
|
||||
function switchPopupState()
|
||||
{
|
||||
popup.visible ? popup.close() : popup.open()
|
||||
if (popup.visible)
|
||||
{
|
||||
popup.close()
|
||||
}
|
||||
else
|
||||
{
|
||||
popup.open()
|
||||
}
|
||||
}
|
||||
|
||||
Controls2.Button
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue