Commit 3afa6a6f authored by Tim Miller's avatar Tim Miller

Change "Playback" to "Playback Speed"

parent b4d72bf9
...@@ -42,7 +42,7 @@ namespace VLC.Services.RunTime ...@@ -42,7 +42,7 @@ namespace VLC.Services.RunTime
volumeItem = RadialControllerMenuItem.CreateFromFontGlyph("Volume", "\xE767", "Segoe MDL2 Assets"); volumeItem = RadialControllerMenuItem.CreateFromFontGlyph("Volume", "\xE767", "Segoe MDL2 Assets");
volumeItem.Tag = volumeTag; volumeItem.Tag = volumeTag;
playbackItem = RadialControllerMenuItem.CreateFromFontGlyph("Playback", "\xE714", "Segoe MDL2 Assets"); playbackItem = RadialControllerMenuItem.CreateFromFontGlyph("Playback Speed", "\xE714", "Segoe MDL2 Assets");
playbackItem.Tag = videoPlaybackTag; playbackItem.Tag = videoPlaybackTag;
volumeItem.Invoked += Item_Invoked; volumeItem.Invoked += Item_Invoked;
...@@ -107,8 +107,11 @@ namespace VLC.Services.RunTime ...@@ -107,8 +107,11 @@ namespace VLC.Services.RunTime
vm.Volume = (int)volume; vm.Volume = (int)volume;
break; break;
case Mode.Playback: case Mode.Playback:
vm.Position += (float)((args.RotationDeltaInDegrees) / 1000); var speedRate = vm.SpeedRate + (int)((args.RotationDeltaInDegrees) / 5);
//vm.UpdatePosition(); if (speedRate <= 0)
vm.SpeedRate = 0;
else
vm.SpeedRate = speedRate;
break; break;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment