File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1703,7 +1703,9 @@ const createScatterplot = (
17031703 } ;
17041704
17051705 const drawSelectedPointOutlines = drawPoints (
1706- ( ) => ( pointSizeSelected + pointOutlineWidth * 2 ) * window . devicePixelRatio ,
1706+ ( ) =>
1707+ ( pointSizeSelected + ( pointOutlineWidth / camera . scaling [ 0 ] ) * 2 ) *
1708+ window . devicePixelRatio ,
17071709 getSelectedNumPoints ,
17081710 getSelectedPointsIndexBuffer ,
17091711 COLOR_ACTIVE_IDX ,
@@ -1712,7 +1714,9 @@ const createScatterplot = (
17121714 ) ;
17131715
17141716 const drawSelectedPointInnerBorder = drawPoints (
1715- ( ) => ( pointSizeSelected + pointOutlineWidth ) * window . devicePixelRatio ,
1717+ ( ) =>
1718+ ( pointSizeSelected + pointOutlineWidth / camera . scaling [ 0 ] ) *
1719+ window . devicePixelRatio ,
17161720 getSelectedNumPoints ,
17171721 getSelectedPointsIndexBuffer ,
17181722 COLOR_BG_IDX ,
You can’t perform that action at this time.
0 commit comments