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
@@ -86,7 +86,7 @@ pub fn viewer_hook(
ctx.set_cursor_icon(egui::CursorIcon::Move);
resp.clone().on_hover_text(format!("{}: {}", g.name, pr.name));
}
if resp.dragged()
if resp.dragged_by(egui::PointerButton::Primary)
&& let Some(pos) = resp.interact_pointer_pos()
&& let Some(lp) = fw::comp_to_layer(&pm, map.to_comp(pos))
{