Skip to content
Snippets Groups Projects

Features 3048

Merged andrey.daragan requested to merge features-3048 into develop
2 files
+ 14
9
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -21,14 +21,17 @@ MouseArea
//If mouse pointer go to parent area
onEntered:
{
//ScrollButton is needed to be visible only if list lenght more than its height
scrollVisible = viewData.contentHeight > viewData.height;
//If user see the first element
if(viewData.atYBeginning)
scrollDirectionUp = false;
//If user see the last element
if(viewData.atYEnd)
scrollDirectionUp = true;
if(containsMouse)
{
//ScrollButton is needed to be visible only if list lenght more than its height
scrollVisible = viewData.contentHeight > viewData.height;
//If user see the first element
if(viewData.atYBeginning)
scrollDirectionUp = false;
//If user see the last element
if(viewData.atYEnd)
scrollDirectionUp = true;
}
}
//If mouse pointer go out the parent area
Loading