Make pasting lock the toolbar
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com> Former-commit-id: 4b236153eb7b61af5d7ec8703069709aeea684a3
This commit is contained in:
parent
ded2e448bb
commit
97f3a54644
1 changed files with 1 additions and 1 deletions
|
@ -18,9 +18,9 @@ const stampTool = () =>
|
|||
opt.image,
|
||||
opt.temporary === undefined ? true : opt.temporary
|
||||
);
|
||||
console.debug(state.selected);
|
||||
state.ctxmenu.uploadButton.disabled = true;
|
||||
state.back = opt.back || null;
|
||||
toolbar.lock();
|
||||
} else if (opt) {
|
||||
throw Error(
|
||||
"Pasting from other tools must be in format {image, name?, temporary?, back?}"
|
||||
|
|
Loading…
Reference in a new issue