#310
authorSweidan Omar <TFS\sweidan.omar>
Mon, 17 Jan 2022 12:44:50 +0000 (12:44 +0000)
committerSweidan Omar <TFS\sweidan.omar>
Mon, 17 Jan 2022 12:44:50 +0000 (12:44 +0000)
git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C32752

client/DxPlay/Controls/VideoSpeedTrackbar.cs

index 8d872e1a8a515021cc74111f1fdb24a4f4c91a21..3d5f53a9572ea328c20fe6c93aee2a4fb31d686c 100644 (file)
@@ -9,9 +9,12 @@ namespace DxPlay.Controls
         };\r
 \r
         private float currentSpeed;\r
-        public float[] AvailableSpeeds { get; set; }\r
+        public float[] AvailableSpeeds { get => mAvailableSpeeds; }\r
 \r
-        public float CurrentSpeed { get; set; }\r
+        public float CurrentSpeed { \r
+            get => currentSpeed; \r
+            set { currentSpeed = value; } \r
+        }\r
         public VideoSpeedTrackbar() {            \r
             this.Minimum = 0;\r
             this.Maximum = 5;\r
@@ -19,6 +22,7 @@ namespace DxPlay.Controls
             this.LargeChange = 1;\r
             this.SmallChange = 1;\r
             this.Tag = "PlaySpeed";\r
+            this.TickStyle = TickStyle.None;\r
         }\r
     }\r
 }\r