From 8cfa1665b9c8795461c8adb7945e4a8445d3db4b Mon Sep 17 00:00:00 2001 From: Jerry Wong Date: Sat, 13 Aug 2022 12:59:53 +0800 Subject: [PATCH] Update subtitle.pug --- layout/includes/third-party/subtitle.pug | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/layout/includes/third-party/subtitle.pug b/layout/includes/third-party/subtitle.pug index d7cec58..9236757 100644 --- a/layout/includes/third-party/subtitle.pug +++ b/layout/includes/third-party/subtitle.pug @@ -1,7 +1,4 @@ -- const { effect,loop,source,sub } = theme.subtitle -- const startDelay = theme.subtitle.startDelay ?? 300 -- const typeSpeed = theme.subtitle.typeSpeed ?? 150 -- const backSpeed = theme.subtitle.backSpeed ?? 50 +- const { effect,loop,source,sub,startDelay,typeSpeed,backSpeed } = theme.subtitle - let subContent = sub || new Array() case source