mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-09 23:18:31 -04:00
media: throttle frame rate of media-related animations
port 1.5
related #2869
(cherry picked from commit cdaedad969)
This commit is contained in:
@@ -147,6 +147,10 @@ Item {
|
||||
trackColor: MediaAccentService.accentTrack
|
||||
actualProgressColor: MediaAccentService.accentSubtle
|
||||
isPlaying: activePlayer && activePlayer.playbackState === MprisPlaybackState.Playing
|
||||
onFrameTicked: {
|
||||
if (!root.isSeeking)
|
||||
activePlayer.positionChanged();
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
id: waveMouseArea
|
||||
|
||||
Reference in New Issue
Block a user