We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c385877 commit 671b25bCopy full SHA for 671b25b
crates/viewer/re_viewer_context/src/viewer_context.rs
@@ -191,12 +191,14 @@ impl ViewerContext<'_> {
191
};
192
193
egui::DragAndDrop::set_payload(&response.ctx, payload);
194
- } else if response.double_clicked() {
195
- if let Some(item) = selection.first_item() {
196
- self.command_sender
197
- .send_system(crate::SystemCommand::SetFocus(item.clone()));
198
- }
199
} else if response.clicked() {
+ if response.double_clicked() {
+ if let Some(item) = selection.first_item() {
+ self.command_sender
+ .send_system(crate::SystemCommand::SetFocus(item.clone()));
+ }
200
201
+
202
if response.ctx.input(|i| i.modifiers.command) {
203
selection_state.toggle_selection(selection);
204
} else {
0 commit comments