This commit is contained in:
Vanessa 2023-05-25 23:41:52 +08:00
parent f176383a0f
commit 96c7e85aa4
2 changed files with 4 additions and 0 deletions

View file

@ -371,6 +371,7 @@
margin: 34px 16px 0 24px;
position: relative;
font-size: 16px;
border-radius: 4px;
&:hover .protyle-title__icon {
opacity: 1;

View file

@ -485,6 +485,9 @@ export const onTransaction = (protyle: IProtyle, operation: IOperation, focus: b
Object.keys(data.old).forEach(key => {
item.removeAttribute(key);
});
if (data.new.style && data.new["custom-riff-decks"]) {
data.new.style += ";animation:addCard 450ms linear";
}
Object.keys(data.new).forEach(key => {
item.setAttribute(key, data.new[key]);
if (key === "custom-riff-decks") {