From 793b5a679c73bcf8659543c6ea64c351102e23b0 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Tue, 30 Apr 2024 20:50:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=92=AD=E6=94=BE=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=A1=B5=E7=9A=84=E6=AD=8C=E8=AF=8D=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E8=A7=A6=E7=A2=B0=E6=8B=96=E5=8A=A8=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=88#1865=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publish/changeLog.md | 1 + src/renderer/components/layout/PlayDetail/LyricPlayer.vue | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/publish/changeLog.md b/publish/changeLog.md index fab7a78c..a7644abb 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -14,6 +14,7 @@ - 修复Mac下窗口出现残留阴影的问题,这解决了Mac下桌面歌词出现残留阴影的远古bug,感谢 @zclorne (#1869, Thanks @zclorne) - 增大在线导入自定义源文件的大小限制,解决某些音源无法导入的问题(#1857) - 修复Mac下即使开启了托盘, `cmd+w` 仍会中断播放的问题(#1844) +- 修复播放详情页的歌词无法使用触碰拖动的问题(#1865) ### 变更 diff --git a/src/renderer/components/layout/PlayDetail/LyricPlayer.vue b/src/renderer/components/layout/PlayDetail/LyricPlayer.vue index 4a5dfc71..325d4e0a 100644 --- a/src/renderer/components/layout/PlayDetail/LyricPlayer.vue +++ b/src/renderer/components/layout/PlayDetail/LyricPlayer.vue @@ -5,7 +5,7 @@ v-show="!isShowLrcSelectContent" ref="dom_lyric" :class="['lyric', $style.lyric, { [$style.draging]: isMsDown }, { [$style.lrcActiveZoom]: isZoomActiveLrc }]" :style="lrcStyles" - @wheel="handleWheel" @mousedown="handleLyricMouseDown" + @wheel="handleWheel" @mousedown="handleLyricMouseDown" @touchstart="handleLyricTouchStart" @contextmenu.stop="handleShowLyricMenu" >
@@ -77,6 +77,7 @@ export default { isStopScroll, timeStr, handleLyricMouseDown, + handleLyricTouchStart, handleWheel, handleSkipPlay, handleSkipMouseEnter, @@ -161,6 +162,7 @@ export default { isMsDown, timeStr, handleLyricMouseDown, + handleLyricTouchStart, handleWheel, handleSkipPlay, handleSkipMouseEnter,