Skip to content

Commit 212e07d

Browse files
committed
[General] Cleanup
1 parent 4f13301 commit 212e07d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/editor/manager/zoom.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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

src/editor/render/scanpath.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
*/
3232
export const scanPathRenderer = ( scanpathCanvas: Ref<HTMLCanvasElement | null> ) => {
3333
let ctx: CanvasRenderingContext2D | null = null;

0 commit comments

Comments
 (0)