summaryrefslogtreecommitdiff
path: root/HomeDefault.ui.qml
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-03 09:25:56 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-03 09:25:56 +0800
commitd619302026e10cc2117c96f1003ef70e9b1f378a (patch)
tree057de12a4245528f0d882e872710477b1849b2ed /HomeDefault.ui.qml
parent640d2ccc4a9caa9b2288277cec2a19e2fc3e7239 (diff)
Correct the index referred on previous commit
Diffstat (limited to 'HomeDefault.ui.qml')
-rw-r--r--HomeDefault.ui.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/HomeDefault.ui.qml b/HomeDefault.ui.qml
index 0f706cf..be11a37 100644
--- a/HomeDefault.ui.qml
+++ b/HomeDefault.ui.qml
@@ -272,15 +272,15 @@ Flickable {
currentIndex: tabs.currentIndex
Layout.preferredHeight: width < 576
? width * 1.3
- * tabsContent.itemAt(tabsContent.index).count
+ * tabsContent.itemAt(currentIndex).count
: width < 768
? width / 2 * 1.3
- * (tabsContent.itemAt(tabsContent.index).count + tabsContent.itemAt(tabsContent.index).count % 2) / 2
+ * (tabsContent.itemAt(currentIndex).count + tabsContent.itemAt(currentIndex).count % 2) / 2
: width < 992
? width / 3 * 1.3
- * (tabsContent.itemAt(tabsContent.index).count + (tabsContent.itemAt(tabsContent.index).count + 1) % 3) / 3
+ * (tabsContent.itemAt(currentIndex).count + (tabsContent.itemAt(currentIndex).count + 1) % 3) / 3
: width / 4 * 1.3
- * (tabsContent.itemAt(tabsContent.index).count + (tabsContent.itemAt(tabsContent.index).count + 2) % 4) / 4
+ * (tabsContent.itemAt(currentIndex).count + (tabsContent.itemAt(currentIndex).count + 2) % 4) / 4
Repeater {
id: tabsContent