mirror of
https://github.com/haexhub/haex-hub.git
synced 2025-12-17 06:30:50 +01:00
Fix icon drag bounds on x-axis
Prevent icons from being dragged beyond viewport boundaries on the x-axis. Icons are now clamped to valid positions during drag, not just on drop. - Added viewport bounds checking for both x and y axes during drag - Icons stay within [0, viewport.width - iconWidth] horizontally - Icons stay within [0, viewport.height - iconHeight] vertically - Eliminates snap-back behavior when dragging near edges Bump version to 0.1.8
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "haex-hub",
|
||||
"private": true,
|
||||
"version": "0.1.7",
|
||||
"version": "0.1.8",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "nuxt build",
|
||||
|
||||
Reference in New Issue
Block a user