mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
This commit is contained in:
parent
f9dab598c0
commit
4119a1ada6
1 changed files with 2 additions and 1 deletions
|
|
@ -620,7 +620,8 @@ export const onTransaction = (protyle: IProtyle, operation: IOperation, isUndo:
|
||||||
}
|
}
|
||||||
|
|
||||||
item.setAttribute(key, data.new[key]);
|
item.setAttribute(key, data.new[key]);
|
||||||
if (key === Constants.CUSTOM_RIFF_DECKS && key !== data.new[Constants.CUSTOM_RIFF_DECKS]) {
|
if (key === Constants.CUSTOM_RIFF_DECKS &&
|
||||||
|
data.new[Constants.CUSTOM_RIFF_DECKS] !== data.old[Constants.CUSTOM_RIFF_DECKS]) {
|
||||||
item.style.animation = "addCard 450ms linear";
|
item.style.animation = "addCard 450ms linear";
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (item.parentElement) {
|
if (item.parentElement) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue