Skip to content

Commit

Permalink
Fix animation for logo without background.
Browse files Browse the repository at this point in the history
  • Loading branch information
patfair committed Oct 20, 2021
1 parent 523ac1a commit 4b0a391
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 2 additions & 4 deletions static/js/audience_display.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,13 +248,11 @@ var transitionInMatchToBlank = function(callback) {
};

var transitionBlankToLogoLuma = function(callback) {
$(".blindsCenter.blank").transition({ queue: false, rotateY: "180deg" }, 500, "ease");
$(".blindsCenter.full").transition({ queue: false, rotateY: "0deg" }, 500, "ease", callback);
$(".blindsCenter.full").transition({ queue: false, rotateY: "0deg" }, 1000, "ease", callback);
};

var transitionLogoLumaToBlank = function(callback) {
$(".blindsCenter.blank").transition({queue: false, rotateY: "360deg"}, 500, "ease");
$(".blindsCenter.full").transition({queue: false, rotateY: "180deg"}, 500, "ease");
$(".blindsCenter.full").transition({queue: false, rotateY: "180deg"}, 1000, "ease", callback);
};

var transitionBlankToLogo = function(callback) {
Expand Down
5 changes: 3 additions & 2 deletions templates/match_play.html
Original file line number Diff line number Diff line change
Expand Up @@ -205,12 +205,13 @@
</div>
<div class="radio">
<label>
<input type="radio" name="audienceDisplay" value="logo" onclick="setAudienceDisplay();">Logo
<input type="radio" name="audienceDisplay" value="logo" onclick="setAudienceDisplay();">Logo With BG
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="audienceDisplay" value="logoluma" onclick="setAudienceDisplay();">Logo w/ Key
<input type="radio" name="audienceDisplay" value="logoluma" onclick="setAudienceDisplay();">
Logo Without BG
</label>
</div>
<div class="radio">
Expand Down

0 comments on commit 4b0a391

Please sign in to comment.