Added pointer wheel change functionality on the volume slider.
This commit is contained in:
@@ -178,7 +178,14 @@
|
|||||||
</Canvas>
|
</Canvas>
|
||||||
</Viewbox>
|
</Viewbox>
|
||||||
</Button>
|
</Button>
|
||||||
<Slider Width="200" Minimum="0.0" Maximum="1.0" StepFrequency="0.01" VerticalAlignment="Center" Value="{Binding Volume, Mode=TwoWay}">
|
<Slider
|
||||||
|
Width="200"
|
||||||
|
Minimum="0.0"
|
||||||
|
Maximum="1.0"
|
||||||
|
StepFrequency="0.01"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
PointerWheelChanged="VolumeSlider_PointerWheelChanged"
|
||||||
|
Value="{Binding Volume, Mode=TwoWay}">
|
||||||
<Slider.Resources>
|
<Slider.Resources>
|
||||||
<!-- Thumb (the "ball") -->
|
<!-- Thumb (the "ball") -->
|
||||||
<StaticResource x:Key="SliderThumbBackground" ResourceKey="DarkGradientBrush"/>
|
<StaticResource x:Key="SliderThumbBackground" ResourceKey="DarkGradientBrush"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user