homescreens/folio: Fix folder animating from wrong y

There was a typo with the padding to use in the calculation for the y
position of the folder, it should use the top padding not the right
padding.
This commit is contained in:
Devin Lin 2025-09-14 14:33:28 -04:00
parent 02e5af483d
commit 074007ef48

View file

@ -41,7 +41,7 @@ Folio.DelegateTouchArea {
function onFolderAboutToOpen(x, y) { function onFolderAboutToOpen(x, y) {
root.folderPositionX = x - folio.HomeScreenState.viewLeftPadding; root.folderPositionX = x - folio.HomeScreenState.viewLeftPadding;
root.folderPositionY = y - folio.HomeScreenState.viewRightPadding; root.folderPositionY = y - folio.HomeScreenState.viewTopPadding;
} }
} }