Fixing issue with margins being shown despite an object not being displayed.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adsooi 2024-10-28 19:09:25 +01:00
parent 43e41a5da4
commit 45fef876ec
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160

View file

@ -56,7 +56,7 @@ ScrollView {
property var editingRows: [] property var editingRows: []
model: Modules.Objects.currentObjects[objType] model: Modules.Objects.currentObjects[objType]
width: objectsListView.width width: objectsListView.width
height: contentItem.childrenRect.height + 10 height: contentItem.childrenRect.height + (visible ? 10 : 0)
visible: model != undefined && model.length > 0 visible: model != undefined && model.length > 0
interactive: false interactive: false