fix updating layers option of AnnotationPanel
This commit is contained in:
parent
2e2a358cd0
commit
e3919a72ed
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,8 @@ Ox.AnnotationPanel = function(options, self) {
|
|||
self.$folder.forEach(function($folder) {
|
||||
$folder.options(key, value);
|
||||
});
|
||||
} else if (key == 'layers') {
|
||||
renderFolders();
|
||||
} else if (key == 'selected') {
|
||||
self.options.editable && updateEditMenu();
|
||||
if (value) {
|
||||
|
|
Loading…
Reference in a new issue