Skip to content

Commit

Permalink
Version 35:
Browse files Browse the repository at this point in the history
* Additional minor bugfix.
  • Loading branch information
bp2008 committed Jun 23, 2018
1 parent 07e46f1 commit 99ce698
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion ui3/ui3.js
Original file line number Diff line number Diff line change
Expand Up @@ -4090,6 +4090,10 @@ function PlaybackControls()
{
$progressText.text(text);
}
this.IsVisible = function ()
{
return isVisible;
}
this.Show = function ()
{
if (!isVisible)
Expand Down Expand Up @@ -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")
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 99ce698

Please sign in to comment.