From 99ce698fd51d0545a54e058277f6d855faf78009 Mon Sep 17 00:00:00 2001 From: Brian Date: Sat, 23 Jun 2018 09:42:29 -0600 Subject: [PATCH] Version 35: * Additional minor bugfix. --- ui3/ui3.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ui3/ui3.js b/ui3/ui3.js index 643daae..809df5b 100644 --- a/ui3/ui3.js +++ b/ui3/ui3.js @@ -4090,6 +4090,10 @@ function PlaybackControls() { $progressText.text(text); } + this.IsVisible = function () + { + return isVisible; + } this.Show = function () { if (!isVisible) @@ -12559,6 +12563,11 @@ function StreamingProfileEditor(srcProfile, profileEditedCallback) { // Current profile is changing genericQualityHelper.QualityChoiceChanged(p.name); + if (playbackControls.IsVisible()) + { + playbackControls.FadeOut(); + playbackControls.Show(); + } } genericQualityHelper.SaveProfiles(); if (typeof profileEditedCallback === "function") @@ -12744,7 +12753,7 @@ function StreamingProfile() if (max >= 10) kbps = Math.min(kbps, max); } - if(kbps === 0 || kbps >= 10) + if (kbps === 0 || kbps >= 10) sb.Append("&kbps=").Append(Clamp(kbps, 10, 8192)); if (self.fps >= 0)