Fix loop toggle resuming paused video playback (#1861)

This commit is contained in:
Copilot
2026-01-16 18:56:06 +08:00
committed by GitHub
parent 31f794de08
commit 6c9b61b76f

View File

@@ -130,12 +130,6 @@ public partial class ViewerPanel : UserControl, IDisposable, INotifyPropertyChan
if (value == _shouldLoop) return;
_shouldLoop = value;
OnPropertyChanged();
if (!IsPlaying)
{
IsPlaying = true;
mediaElement.Play();
}
}
}