Some refactor

This commit is contained in:
Agel committed 2026-04-08 14:01:03 +02:00
1 parent 7ecb7f4f4f
commit 9280c838b2
37 files changed
+1599 -981

No files matched your search

+3 -3
View File
@@ -73,7 +73,7 @@ Rectangle {
}
SideBarButton {
visible: bookController.hasBook
visible: book.hasBook
iconText: "\ue5cd"
title: "Close Book"
onClicked: sidebar.closeBook()
@@ -114,7 +114,7 @@ Rectangle {
// TOC section — shown when the current book has a table of contents
Item {
visible: bookController.hasBook && bookController.toc.length > 0
visible: book.hasBook && book.toc.length > 0
anchors.top: navColumn.bottom
anchors.bottom: parent.bottom
width: parent.width
@@ -145,7 +145,7 @@ Rectangle {
anchors.bottom: parent.bottom
width: parent.width
clip: true
model: bookController.toc
model: book.toc
delegate: Rectangle {
width: ListView.view.width