Fixed the hanging spatial audio settings
and added a notyf
This commit is contained in:
parent
480c549bfc
commit
7715eaa4ea
1 changed files with 6 additions and 2 deletions
|
@ -39,8 +39,12 @@
|
||||||
app.modals.audioSettings = false
|
app.modals.audioSettings = false
|
||||||
},
|
},
|
||||||
openSpacialAudio() {
|
openSpacialAudio() {
|
||||||
app.modals.spatialProperties = true
|
if(app.cfg.audio.spatial) {
|
||||||
app.modals.audioSettings = false
|
app.modals.spatialProperties = true
|
||||||
|
app.modals.audioSettings = false
|
||||||
|
} else {
|
||||||
|
notyf.error(app.getLz('spatial.notTurnedOn'))
|
||||||
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue