From: Sweidan Omar Date: Mon, 17 Jan 2022 12:44:50 +0000 (+0000) Subject: #310 X-Git-Url: http://git.useribm.hu/?a=commitdiff_plain;h=b17dd680e4c4da5dc68ec971c8602cbd79b4b256;p=mediacube.git #310 git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C32752 --- 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; } } }