mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +08:00
Add spinner when editing image annotation
Close SCI-3710
This commit is contained in:
parent
daccad1346
commit
cdad167be2
1 changed files with 2 additions and 0 deletions
|
@ -258,6 +258,7 @@ var FilePreviewModal = (function() {
|
|||
'colorpicker.title.color': '#fff'
|
||||
};
|
||||
|
||||
animateSpinner(null, true);
|
||||
imageEditor = new tui.ImageEditor('#tui-image-editor', {
|
||||
includeUI: {
|
||||
loadImage: {
|
||||
|
@ -284,6 +285,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