Skip to content

Commit becfadd

Browse files
committed
CodeRabbit suggestion
1 parent 972b6e3 commit becfadd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rendering/src/layers/cursor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ impl CursorLayer {
215215
let motion_blur_amount = (speed * 0.3).min(1.0) * 0.0; // uniforms.project.cursor.motion_blur;
216216

217217
let mut cursor_opacity = 1.0f32;
218-
if uniforms.project.cursor.hide_when_idle {
218+
if uniforms.project.cursor.hide_when_idle && !cursor.moves.is_empty() {
219219
let hide_delay_secs = uniforms
220220
.project
221221
.cursor

0 commit comments

Comments
 (0)