Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zhulik committed Jul 4, 2023
1 parent f730079 commit adefd26
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/qml/DirectoryView/DirectoryView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Item {

scrollPos += Math.abs(e.analogY)

if (scrollPos > 70) {
if (scrollPos >= view.cellHeight) {
scrollPos = 0
view.scrollHaptic()
}
Expand Down Expand Up @@ -240,8 +240,8 @@ Item {
add: _transition

delegate: FileDelegate {
width: view.cellWidth - 5
height: view.cellHeight - 5
width: view.cellWidth
height: view.cellHeight

onClicked: {
root.cdIndex(index)
Expand Down

0 comments on commit adefd26

Please sign in to comment.