mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-29 02:51:41 +00:00
* Simple mouse drop improvements (#84406) ## About The Pull Request 1. Mouse drop now uses `CanReach()` which is more versatile instead of `Adjacent()` for adjacency checks 2. `CanReach()` & `DirectAccess()` are now part of `atom`. It's been moved up from `atom/movable` 3. It won't again check for adjacency inside `can_perform_action()` saving some overhead 4. Removing the nested `if` conditions from code is always a plus ## Changelog 🆑 code: improved mouse drag & drop code /🆑 * Simple mouse drop improvements --------- Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com>
7.7 KiB
7.7 KiB