mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
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:
parent
02e5af483d
commit
074007ef48
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ Folio.DelegateTouchArea {
|
|||
|
||||
function onFolderAboutToOpen(x, y) {
|
||||
root.folderPositionX = x - folio.HomeScreenState.viewLeftPadding;
|
||||
root.folderPositionY = y - folio.HomeScreenState.viewRightPadding;
|
||||
root.folderPositionY = y - folio.HomeScreenState.viewTopPadding;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue