Skip to content

Commit

Permalink
fixed phantom tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
olesota committed Dec 1, 2020
1 parent c4b7853 commit 8fce247
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ document.addEventListener('keypress', (event) => {
init_draco().then(() => {
init_plots(false);
}).then(()=>{
$("#vegaWork").hide();
if (!firstLaunch) {quickStart(); return;}
$(".sidebar").css("opacity",1);
$("#heading").css("transition", "opacity 1s ease-in-out");
Expand Down Expand Up @@ -444,6 +445,7 @@ function setShowYours() {
if (!firstLaunch) {quickStart(); return;}
$("#subtext").css("opacity",0);
smoothTextChange("Set off on a journey to ...");
$("#vegaWork").show();
setTimeout(()=>{
$(".grid-item.right").css("transition", "opacity 2.0s ease-in-out");
$(".grid-item.right").css("opacity",1);
Expand Down Expand Up @@ -508,6 +510,7 @@ function quickStart(){
$("#subtext").css("opacity",1);
},1200);

$("#vegaWork").show();
$(".grid-item.right").css("transition", "opacity 2.0s ease-in-out");
$(".grid-item.right").css("opacity",1);
$("#current").css("transition", "opacity 2.0s ease-in-out");
Expand Down

0 comments on commit 8fce247

Please sign in to comment.