Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-11-26 20:45:37 +08:00
parent 370d549a48
commit f5b17b2b22
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
8 changed files with 8 additions and 21 deletions

View file

@ -620,7 +620,7 @@ export const onTransaction = (protyle: IProtyle, operation: IOperation, isUndo:
}
item.setAttribute(key, data.new[key]);
if (key === Constants.CUSTOM_RIFF_DECKS && key !== data.old[Constants.CUSTOM_RIFF_DECKS]) {
if (key === Constants.CUSTOM_RIFF_DECKS && key !== data.new[Constants.CUSTOM_RIFF_DECKS]) {
item.style.animation = "addCard 450ms linear";
setTimeout(() => {
if (item.parentElement) {