From 8231a1d53d2c9b3b2daf99e601c86dc9618718a6 Mon Sep 17 00:00:00 2001
From: Kirill Anisimov <kirill.anisimov@demlabs.net>
Date: Wed, 22 Jan 2020 11:47:53 +0300
Subject: [PATCH] Added comments.

---
 widgets/DapScrollView.qml        | 3 +++
 widgets/DapScrollViewForm.ui.qml | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/widgets/DapScrollView.qml b/widgets/DapScrollView.qml
index e40db09..a8e63d8 100644
--- a/widgets/DapScrollView.qml
+++ b/widgets/DapScrollView.qml
@@ -2,6 +2,9 @@ import QtQuick 2.4
 
 DapScrollViewForm
 {
+    // All the logic (including state names and vars) was taken from master branch
+
+    // Var for current pos while scrolling (in function updateY())
     property var contentPos: 0.0
 
     // Connect to new ListView if changed
diff --git a/widgets/DapScrollViewForm.ui.qml b/widgets/DapScrollViewForm.ui.qml
index 39facaa..04d77c7 100644
--- a/widgets/DapScrollViewForm.ui.qml
+++ b/widgets/DapScrollViewForm.ui.qml
@@ -9,8 +9,10 @@ MouseArea
     property string scrollDownButtonHoveredImageSource
     property string scrollUpButtonImageSource
     property string scrollUpButtonHoveredImageSource
-    //ListView to attach the scroll button
+
+    // ListView to attach the scroll button
     property ListView viewData
+
     property alias scrollMouseArea: dapScrollMouseArea
     property alias scrollButton: dapScrollButton
     property alias scrollButtonImage: dapScrollButtonImage
-- 
GitLab