File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -111,8 +111,6 @@ const setFactor = ( factor: number ) => {
111111
112112 zoomFactor . value = Math . min ( Math . max ( factor , 1 ) , 3 ) ;
113113
114- // NOTE: If you want to do relative to mouse position,
115- // add a mouse position in here and use setViewPortOriginFromCenter
116114 if ( selectedFixation . value < 0 )
117115 setViewPortOrigin ( getViewPortOrigin ( ) ) ;
118116 else
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import type {
2727/**
2828 * Render the scan path
2929 * @param scanpathCanvas - The canvas to render into
30- * @returns [TODO:return]
30+ * @returns The render trigger function
3131 */
3232export const scanPathRenderer = ( scanpathCanvas : Ref < HTMLCanvasElement | null > ) => {
3333 let ctx : CanvasRenderingContext2D | null = null ;
You can’t perform that action at this time.
0 commit comments