Skip to content

Commit 522c1ee

Browse files
committed
fix: select shape (#107)
1 parent df73326 commit 522c1ee

File tree

8 files changed

+284
-260
lines changed

8 files changed

+284
-260
lines changed

src/WebGPU/pointer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export default function initMouseController(
190190
break
191191
case 'Escape':
192192
event.preventDefault()
193-
Logic.commitChanges()
193+
Logic.commit_changes()
194194
break
195195
case '=':
196196
case '+':

src/logic/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ declare module '*.zig' {
5252
export const on_pointer_up: () => void
5353
export const on_pointer_move: (x: number, y: number) => void
5454
export const on_pointer_leave: VoidFunction
55-
export const commitChanges: VoidFunction
55+
export const commit_changes: VoidFunction
5656
export const update_render_scale: (render_scale: number) => void
5757

5858
export const connect_web_gpu_programs: (programs: {

0 commit comments

Comments
 (0)