+
@@ -175,7 +184,7 @@ onBeforeUnmount(() => {
.marquee-txt {
display: inline-block;
padding-left: 100%; /* 从右至左开始滚动 */
- animation: marqueeAnimation 10s linear infinite;
+ animation: marqueeAnimation var(--scroll-speed) linear infinite;
}
@keyframes marqueeAnimation {
0% {
diff --git a/core/core-frontend/src/utils/changeComponentsSizeWithScale.ts b/core/core-frontend/src/utils/changeComponentsSizeWithScale.ts
index 948711a7c2..950d8916ca 100644
--- a/core/core-frontend/src/utils/changeComponentsSizeWithScale.ts
+++ b/core/core-frontend/src/utils/changeComponentsSizeWithScale.ts
@@ -7,7 +7,7 @@ import { groupSizeStyleAdaptor } from '@/utils/style'
const dvMainStore = dvMainStoreWithOut()
const { componentData, curComponentIndex, canvasStyleData } = storeToRefs(dvMainStore)
-const needToChangeAttrs = ['top', 'left', 'width', 'height', 'fontSize']
+const needToChangeAttrs = ['top', 'left', 'width', 'height', 'fontSize', 'letterSpacing']
export function changeSizeWithScale(scale) {
return changeComponentsSizeWithScale(scale)