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
@@ -186,7 +186,7 @@ fn draw_widget(app: &mut EffectcraftApp, ui: &mut egui::Ui, origin: egui::Pos2,
})
.inner;
let r = tip(r);
if r.dragged() {
if r.dragged_by(egui::PointerButton::Primary) {
// Live: each step of the drag reaches the script (onChanging).
if r.changed() {
acts.push(Act::Changing(win, w.id, json!(v)));