openscad navigation (#211)
* openscad navigation * addressed pr feedback: fixing box selection conflict with openscad and use constant for openscad
This commit is contained in:
1 parent
a04ef4ca59
commit
6dab0fb2c1
5 files changed
+167
-10
No files matched your search
@@ -1326,7 +1326,7 @@ fn track_hold(app: &mut SolveApp, ctx: &egui::Context) {
|
||||
i.time,
|
||||
)
|
||||
});
|
||||
let free = app.tool.is_none() && app.dialog.is_none();
|
||||
let free = app.tool.is_none() && app.dialog.is_none() && app.preferences.nav != crate::prefs::OPENSCAD_NAV;
|
||||
if pressed && free && app.viewport.context_menu.is_none() && app.viewport.mouse.is_some() {
|
||||
app.menu.press = pos.map(|p| (p, time));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user