Skip to content

Commit 8152d36

Browse files
Revert "fix viewport_interaction_active condition"
This reverts commit 87e0ce6.
1 parent 81a8504 commit 8152d36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_editor_pls_core/src/editor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ impl Editor {
9393

9494
pub fn viewport_interaction_active(&self) -> bool {
9595
!self.pointer_used
96-
&& matches!(
96+
|| matches!(
9797
self.active_editor_interaction,
9898
Some(ActiveEditorInteraction::Viewport)
9999
)

0 commit comments

Comments
 (0)