Refactoring

This commit is contained in:
Julia Radzhabova
2024-12-10 22:10:18 +03:00
parent ff716f2b7c
commit 19608fd07f
2 changed files with 1 additions and 2 deletions

View File

@ -866,7 +866,7 @@ define([], function () {
});
// annotation text bar
documentHolder.btnRemAnnot.on('click', _.bind(this.removeComment, this));
documentHolder.btnAddAnnotComment.on('click', _.bind(this.addComment, this, {isFromBar: true}));
documentHolder.btnAddAnnotComment.on('click', _.bind(this.addComment, this, {isFromSelBar: true}));
documentHolder.mnuStrokeHighlightColorPicker.on('select', _.bind(this.onSelectStrokeColor, this, documentHolder.btnStrokeHighlightColor));
documentHolder.mnuStrokeColorPicker.on('select', _.bind(this.onSelectStrokeColor, this, documentHolder.btnStrokeColor));
this.api.UpdateInterfaceState();

View File

@ -526,7 +526,6 @@ define([
})).show();
}
}
item.isFromBar && me.api.SetShowTextSelectPanel(false);
}
me.editComplete();
},