mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-17 21:32:07 +08:00
c603d07012
OnroadViewContainerSP nests a vertical scroller between the outer horizontal scroller and road_view/info_panel. Stock click suppression relies on a child's _touch_valid_callback being gated by its parent scroll panel — with the container in the middle, children were only gated by the inner panel, so an outer L→R drag never invalidated their touch and the click fired on release (immediately popping to home). - Chain children's touch_valid through the container's own touch_valid so outer-scroll state propagates to nested children. - Add OnroadInfoPanel._handle_mouse_release mirroring AugmentedRoadView's bookmark guard, so an R→L bookmark drag on the info panel doesn't fire the click on release.