Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
draw new data after a context has been stopped and then started
  • Loading branch information
tlatorre-uchicago committed Sep 5, 2014
commit 523d481c981e1e04a2814ae47146ace27912418a
2 changes: 1 addition & 1 deletion src/horizon.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ cubism_contextPrototype.horizon = function() {
var i0 = 0, max = Math.max(-extent[0], extent[1]);
if (this === context) {
if (max == max_) {
i0 = width - cubism_metricOverlap;
var dx = (start1 - start) / step;
i0 = width - dx - cubism_metricOverlap;
if (dx < width) {
var canvas0 = buffer.getContext("2d");
canvas0.clearRect(0, 0, width, height);
Expand Down