From 432c1ff71dffc1bce52304c6c0e984b54611f1c2 Mon Sep 17 00:00:00 2001 From: zhangxuelin <959231531@qq.com> Date: Wed, 11 Dec 2024 11:02:22 +0800 Subject: [PATCH] =?UTF-8?q?pptist=E7=82=B9=E8=B5=9E=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/Editor/Toolbar/ElementAnimationPanel.vue | 1 - src/renderer/src/AixPPTist/src/views/Screen/BaseView.vue | 7 +++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/renderer/src/AixPPTist/src/views/Editor/Toolbar/ElementAnimationPanel.vue b/src/renderer/src/AixPPTist/src/views/Editor/Toolbar/ElementAnimationPanel.vue index 619072c..d27f20f 100644 --- a/src/renderer/src/AixPPTist/src/views/Editor/Toolbar/ElementAnimationPanel.vue +++ b/src/renderer/src/AixPPTist/src/views/Editor/Toolbar/ElementAnimationPanel.vue @@ -245,7 +245,6 @@ const runAnimation = (elId: string, effect: string, duration: number) => { const animationName = `${ANIMATION_CLASS_PREFIX}${effect}` document.documentElement.style.setProperty('--animate-duration', `${duration}ms`) elRef.classList.add(`${ANIMATION_CLASS_PREFIX}animated`, animationName) - const handleAnimationEnd = () => { document.documentElement.style.removeProperty('--animate-duration') elRef.classList.remove(`${ANIMATION_CLASS_PREFIX}animated`, animationName) diff --git a/src/renderer/src/AixPPTist/src/views/Screen/BaseView.vue b/src/renderer/src/AixPPTist/src/views/Screen/BaseView.vue index 1611934..ca6575f 100644 --- a/src/renderer/src/AixPPTist/src/views/Screen/BaseView.vue +++ b/src/renderer/src/AixPPTist/src/views/Screen/BaseView.vue @@ -34,7 +34,10 @@ - + +
+ +
void }>()