[vlc-commits] [Git][videolan/vlc][master] qml: do not apply fading edge effect if ListView delegate is not hoverable
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri Oct 20 15:47:07 UTC 2023
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
ef737941 by Fatih Uzunoglu at 2023-10-20T15:21:32+00:00
qml: do not apply fading edge effect if ListView delegate is not hoverable
- - - - -
1 changed file:
- modules/gui/qt/widgets/qml/FadingEdgeForListView.qml
Changes:
=====================================
modules/gui/qt/widgets/qml/FadingEdgeForListView.qml
=====================================
@@ -100,14 +100,14 @@ FadingEdge {
: !listView.atXBeginning) &&
(!firstVisibleItem ||
(!firstVisibleItem.activeFocus &&
- !Helpers.get(firstVisibleItem, "hovered", false)))
+ !Helpers.get(firstVisibleItem, "hovered", true)))
enableEndFade: _fadeRectEnoughSize &&
(orientation === Qt.Vertical ? !listView.atYEnd
: !listView.atXEnd) &&
(!lastVisibleItem ||
(!lastVisibleItem.activeFocus &&
- !Helpers.get(lastVisibleItem, "hovered", false)))
+ !Helpers.get(lastVisibleItem, "hovered", true)))
BindingCompat on enableBeginningFade {
when: !!listView.headerItem && (listView.headerPositioning !== ListView.InlineHeader)
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ef73794165da2497bba1ab0272a3249c9625997c
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ef73794165da2497bba1ab0272a3249c9625997c
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list