Skip to content

Commit a53d1f6

Browse files
committed
feat: initially 2d is now working...
1 parent 7d19571 commit a53d1f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/utils.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ pub fn update_mouse_pos(
432432
for (_, shad_mat) in shader_mat.iter_mut() {
433433
let sh_xy = shadplay_win_dims.to_uv(mouse_xy);
434434
shad_mat.mouse_pos = sh_xy.into();
435-
break; // Since we only care about the first shader.
435+
return;
436436
}
437437
}
438438
}

0 commit comments

Comments
 (0)