mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-02 18:48:11 +08:00
reduce dot scaling upon zoom (#963)
* remove obsolete code * change point scaling with zoom distance
This commit is contained in:
@@ -194,11 +194,7 @@ class Graph extends React.Component {
|
||||
|
||||
componentDidMount() {
|
||||
// setup canvas, webgl draw function and camera
|
||||
const camera = _camera(this.reglCanvas, {
|
||||
pan: true,
|
||||
scale: true,
|
||||
rotate: false
|
||||
});
|
||||
const camera = _camera(this.reglCanvas);
|
||||
const regl = _regl(this.reglCanvas);
|
||||
const drawPoints = _drawPoints(regl);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user