fix: reduce shader usage and fix greeter

This commit is contained in:
2026-10-24 00:35:24 +02:00
parent cbd4e6caa7
commit e35c87b3f2
56 changed files with 819 additions and 638 deletions
@@ -337,7 +337,7 @@ Item {
}
}
CustomClippingRect {
ClipRect {
id: expandedTool
anchors.top: collapsedRow.bottom
@@ -252,7 +252,7 @@ CustomRect {
}
}
CustomClippingRect {
CustomRect {
id: codeRect
anchors.left: parent.left
@@ -265,6 +265,7 @@ CustomRect {
implicitWidth: codeText.implicitWidth + codeFlick.anchors.margins * 2
implicitHeight: codeText.implicitHeight + codeFlick.anchors.margins * 2
color: CodeColors.active.bg
clip: true
Flickable {
id: codeFlick
@@ -272,6 +273,9 @@ CustomRect {
anchors.fill: parent
anchors.margins: Tokens.padding.small
boundsBehavior: Flickable.StopAtBounds
contentWidth: codeText.implicitWidth
CustomScrollBar.horizontal: CustomScrollBar {
flickable: codeFlick
parent: codeFlick.parent
@@ -280,16 +284,13 @@ CustomRect {
anchors.right: parent.right
}
TextAreaBase.flickable: TextAreaBase {
CustomText {
id: codeText
color: CodeColors.active.normal
layer.enabled: true
clip: false
font: Tokens.font.mono.small
textFormat: root.colored ? Text.RichText : Text.PlainText
textFormat: Text.RichText
text: root.colored ? root.html : root.plainForDisplay(root.code)
readOnly: true
}
}
}
@@ -125,7 +125,7 @@ Item {
current: root.current
}
CustomClippingRect {
ClipRect {
id: expandedRect
anchors.left: parent.left