mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40: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]);
|
||||
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";
|
||||
setTimeout(() => {
|
||||
if (item.parentElement) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue