mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-06 06:56:54 +08:00
Add spinner when editing image annotation (#1948)
Add spinner when editing image annotation
This commit is contained in:
commit
06657dbdf6
1 changed files with 2 additions and 0 deletions
|
@ -269,6 +269,7 @@ var FilePreviewModal = (function() {
|
|||
'colorpicker.title.color': '#fff'
|
||||
};
|
||||
|
||||
animateSpinner(null, true);
|
||||
imageEditor = new tui.ImageEditor('#tui-image-editor', {
|
||||
includeUI: {
|
||||
loadImage: {
|
||||
|
@ -295,6 +296,7 @@ var FilePreviewModal = (function() {
|
|||
|
||||
imageEditor.on('image_loaded', () => {
|
||||
$('.file-save-link').css('display', '');
|
||||
animateSpinner(null, false);
|
||||
});
|
||||
|
||||
ps = new PerfectScrollbar($('.tui-image-editor-wrap')[0], { wheelSpeed: 0.5 });
|
||||
|
|
Loading…
Reference in a new issue