From b17dd680e4c4da5dc68ec971c8602cbd79b4b256 Mon Sep 17 00:00:00 2001 From: Sweidan Omar Date: Mon, 17 Jan 2022 12:44:50 +0000 Subject: [PATCH] #310 git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C32752 --- client/DxPlay/Controls/VideoSpeedTrackbar.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/client/DxPlay/Controls/VideoSpeedTrackbar.cs b/client/DxPlay/Controls/VideoSpeedTrackbar.cs index 8d872e1a..3d5f53a9 100644 --- a/client/DxPlay/Controls/VideoSpeedTrackbar.cs +++ b/client/DxPlay/Controls/VideoSpeedTrackbar.cs @@ -9,9 +9,12 @@ namespace DxPlay.Controls }; private float currentSpeed; - public float[] AvailableSpeeds { get; set; } + public float[] AvailableSpeeds { get => mAvailableSpeeds; } - public float CurrentSpeed { get; set; } + public float CurrentSpeed { + get => currentSpeed; + set { currentSpeed = value; } + } public VideoSpeedTrackbar() { this.Minimum = 0; this.Maximum = 5; @@ -19,6 +22,7 @@ namespace DxPlay.Controls this.LargeChange = 1; this.SmallChange = 1; this.Tag = "PlaySpeed"; + this.TickStyle = TickStyle.None; } } } -- 2.54.0