Pārlūkot izejas kodu

实现悬浮歌词功能

onecold 1 gadu atpakaļ
vecāks
revīzija
ed9b7ea789
2 mainītis faili ar 446 papildinājumiem un 171 dzēšanām
  1. 445 170
      entry/src/main/ets/view/LocalMusic.ets
  2. 1 1
      lib/src/main/ets/view/LyricView2.ets

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 445 - 170
entry/src/main/ets/view/LocalMusic.ets


+ 1 - 1
lib/src/main/ets/view/LyricView2.ets

@@ -311,7 +311,7 @@ export struct LyricView2 {
             })
         }
         .justifyContent(this.alignMode === 'center' ? FlexAlign.Center : FlexAlign.Start)
-        .width(this.alignMode == 'center' ? '100%' : '76%')
+        .width(this.alignMode == 'center' ? '100%' : '95%')
     }
 
     private handleSeekAction() {

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels