Function de_controller::hud::minimap::interaction::drag_handler

source ·
fn drag_handler(
    window_query: Query<'_, '_, &Window, With<PrimaryWindow>>,
    hud: HudNodes<'_, '_, With<MinimapNode>>,
    bounds: Res<'_, MapBounds>,
    dragging: Res<'_, DraggingButtons>,
    drag_events: EventWriter<'_, MinimapDragEvent>
)