Skip to content

Commit 42afcc7

Browse files
committed
Don't blur active element on copy/paste
1 parent 7293127 commit 42afcc7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/studio/src/views/animator/Animator.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const Animator = () => {
7777
delete_layer: () => animation !== null && animation.deleteKeyframesLayers(),
7878
paste_keyframes_defined: () => animation !== null && animation.pasteKeyframes(true),
7979
}
80-
}), [animation]))
80+
}), [animation]), { blurActiveElement: false })
8181

8282
useObjectUnderMouse()
8383

apps/studio/src/views/modeler/Modeler.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const Modeler = () => {
5252
copy_only_selected: () => project.model.copyCubes(false),
5353
paste_world_position: () => project.model.pasteCubes(true),
5454
}
55-
}), [project]))
55+
}), [project]), { blurActiveElement: false })
5656

5757
useObjectUnderMouse()
5858
useModelerGumball()

0 commit comments

Comments
 (0)