Closed DTTerastar closed 2 weeks ago
[!CAUTION]
Review failed
The pull request is closed.
The changes involve a modification to the wheelDelta
function in the Map.svelte
component's zoom handler. The zoom factor now considers both vertical and horizontal scroll deltas, enhancing the zoom interaction based on mouse wheel movements. The overall structure of the component remains unchanged, with no alterations to exported or public entities, and existing event handling logic is preserved.
File | Change Summary |
---|---|
src/ui/src/lib/Map.svelte | Modified wheelDelta function to use both event.deltaY and event.deltaX for zoom calculations. No changes to exported entities or other event handling logic. |
In the map where we zoom and sway,
The wheel now dances in a new way.
With deltas both wide and tall,
We explore the world, big and small.
Hop along, let’s see it all! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes