Avoid keeping unwanted annotations when seeking over the playback. This fixes a major bug but loses some of the smoothness that I could't avoid

This commit is contained in:
Pedro Beschorner Marin 2017-04-11 20:47:30 +00:00
parent 596bad43e1
commit 086ea510c4

View File

@ -418,6 +418,8 @@ function runPopcorn() {
} else {
shape.style.visibility = "hidden";
}
} else {
shape.style.visibility = "hidden";
}
} else if(time_s === t) { //for the shapes with the time specific to the current time
// only makes visible the last drawing of a given shape