space: make lock/unlock functions explicit

This commit is contained in:
mntmn
2020-11-21 17:07:27 +01:00
parent 3129933713
commit c9171b8690
2 changed files with 11 additions and 5 deletions

View File

@@ -2183,9 +2183,15 @@ var SpacedeckSections = {
return copy;
},
toggle_lock_of_selected_artifacts: function() {
lock_selected_artifacts: function() {
this.update_selected_artifacts(function(a) {
return {locked: !a.locked};
return {locked: true};
}, true);
},
unlock_selected_artifacts: function() {
this.update_selected_artifacts(function(a) {
return {locked: false};
}, true);
},