Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-veit committed Sep 21, 2020
1 parent c8f6e27 commit 3adb023
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 24 deletions.
4 changes: 2 additions & 2 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@
// 34795280.951759025
// 34795109.66133738,
// 34795152.46709586
2027616.1882798017,
2027647.1246295166
2227617.628408449,
2230722.615807473
],
"initialYDomain": [
-2681066463.2605443,
Expand Down
22 changes: 0 additions & 22 deletions src/scripts/ClinvarTrack.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,6 @@ const ClinvarTrack = (HGC, ...args) => {
};
}

drawTile() {}

/*
* Redraw the track because the options
* changed
Expand All @@ -318,24 +316,6 @@ const ClinvarTrack = (HGC, ...args) => {
this.draw();
}

// renderMask(tile) {
// const { tileX, tileWidth } = trackUtils.getTilePosAndDimensions(
// this.tilesetInfo,
// tile.tileId
// );

// tile.rectMaskGraphics.clear();

// const randomColor = Math.floor(Math.random() * 16 ** 6);
// tile.rectMaskGraphics.beginFill(randomColor, 0.3);

// const x = this._xScale(tileX);
// const y = 0;
// const width = this._xScale(tileX + tileWidth) - this._xScale(tileX);
// const height = this.dimensions[1];
// tile.rectMaskGraphics.drawRect(x, y, width, height);
// }

drawTile(tile) {}

renderTile(tile) {}
Expand All @@ -348,7 +328,6 @@ const ClinvarTrack = (HGC, ...args) => {
this.drawLollipops(tile);
});

//requestAnimationFrame(this.animate);
}

drawLollipops(tile) {
Expand Down Expand Up @@ -473,7 +452,6 @@ const ClinvarTrack = (HGC, ...args) => {
destroyTile(tile) {
tile.bgGraphics.destroy();
tile.lollipopsGraphics.destroy();
//tile.rectMaskGraphics.destroy();
tile.graphics.destroy();
tile = null;
}
Expand Down

0 comments on commit 3adb023

Please sign in to comment.