Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add seekbar, duration, and enable/disable toggle button #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AksharDP
Copy link

Added seekbar, current duration and max duration, toggle seekbar button in settings.

  • Added SeekBarEnabled in UserSettings.cs with a default of True.
  • Updated Settings.xaml to include a toggle for enabling/disabling the seekbar.
  • Updated Settings.xaml.cs to handle seek bar toggle button in Settings.xaml.
  • Changed MainWindow.xaml to create space below the thumbnail and media buttons for seekbar.
  • Changed MainWindows.xaml.cs
    • Added timer to update slider every 300 milliseconds because MediaManager_OnAnyTimelinePropertyChanged only updates every ~5 seconds when the media application is not focused (maybe I missed something?).
    • Stops timer from running when Main Window isn't active to stop unnecessary updates.

image
image

Should close #17 if everything looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE REQUEST] Seek Bar and Duration
1 participant