Changed ambiguous .dragged() calls to dragged_by(PointerButton::Primary) to avoid conflicts down the line.

This commit is contained in:
2026-10-14 14:15:11 -07:00
parent 05955c08b4
commit d75a21deef
17 changed files with 39 additions and 39 deletions
+1 -1
View File
@@ -1363,7 +1363,7 @@ pub fn show(app: &mut EffectcraftApp, ui: &mut egui::Ui, rect: Rect) {
} else {
app.pointer_comp = None;
}
app.ui.viewer.interacting = resp.dragged();
app.ui.viewer.interacting = resp.dragged_by(egui::PointerButton::Primary);
let mods = ui.input(|i| i.modifiers);
let space_pan = super::space_hand(&ctx);
// Pen tool: each press places a vertex (dragging pulls Bezier tangents); pressing on the