maintenance: cleanup of switching to editMode

This commit is contained in:
Chris Cochrun 2023-05-17 10:11:06 -05:00
parent a8eec1dee6
commit 3a3c4f9c5c
3 changed files with 7 additions and 9 deletions

View file

@ -201,9 +201,9 @@ Controls.Page {
pWindow.loopVideo();
}
function editSwitch(item) {
function editSwitch(item, mode) {
if (editMode) {
switch (editType) {
switch (mode) {
case "song" :
presentation.visible = false;
videoEditor.visible = false;