We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57c88c5 commit 63336f6Copy full SHA for 63336f6
1 file changed
packages/core/src/RenderingEngine/WSIViewport.ts
@@ -628,15 +628,13 @@ class WSIViewport extends Viewport {
628
return transform.transformPoint(
629
canvasPos.map((it) => it * devicePixelRatio) as Point2
630
);
631
- // return transform.transformPoint(canvasPos);
632
};
633
634
protected indexToCanvas = (indexPos: Point2): Point2 => {
635
const transform = this.getTransform();
636
return transform
637
.transformPoint(indexPos)
638
.map((it) => it / devicePixelRatio) as Point2;
639
- // return transform.transformPoint(indexPos);
640
641
642
/** This can be implemented later when multi-slice WSI is supported */
0 commit comments