mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-20 21:35:59 +00:00
* fix(input): saved layouts keep their shape on a rotated screen, sticks aren't cut off and old gamepads are kept - A layout shown on a screen much taller or wider than it was saved for is placed as one block (at the bottom in portrait) instead of anchoring each control by its own third, which tore clusters such as the face buttons apart in portrait and in the editor. - A floating stick's base is drawn whole inside the overlay when the thumb lands near an edge; input still centres on the touch. - The migration that makes old-editor gamepads follow the kit again also keeps a copy of each one that had kit positions, as "<name> (old layout)" with its actions, so players can choose their old layout again. * fix(input): the old-layout copy keeps only actions it can use, fits the library's limits and leaves same-orientation screens alone - Actions for kit buttons the old gamepad never placed stay on the kit-following gamepad and are dropped from the copy, which otherwise failed validation and stopped the library from loading. - When the copy and its actions don't fit the layout, action or saved-size limits, the gamepad keeps its own positions instead. - Block placement only applies when the screen and the layout differ in orientation; a 4:3 layout on a wide landscape screen keeps edge anchoring.