Merge branch 'optims'

This commit is contained in:
ItsLemmy
2025-11-08 08:16:21 -05:00
46 changed files with 3 additions and 78 deletions
@@ -68,21 +68,6 @@ ShapePath {
readonly property real blMultY: panelBg ? ShapeCornerHelper.getMultY(panelBg.bottomLeftCornerState) : 1
readonly property real blRadius: panelBg ? getCornerRadius(panelBg.bottomLeftCornerState) : 0
// DEBUG: Log panel state changes
onPanelChanged: {
Logger.d("PanelBackground", "=== panel changed:", panel)
Logger.d("PanelBackground", " panel.visible:", panel ? panel.visible : "null")
Logger.d("PanelBackground", " panel.panelRegion:", panel ? panel.panelRegion : "null")
}
onPanelBgChanged: {
Logger.d("PanelBackground", "=== panelBg changed:", panelBg)
if (panelBg) {
Logger.d("PanelBackground", " Geometry:", panelX, panelY, panelWidth, panelHeight)
Logger.d("PanelBackground", " startX:", startX, "startY:", startY)
}
}
// ShapePath configuration
strokeWidth: -1 // No stroke, fill only
@@ -92,13 +77,6 @@ ShapePath {
fillColor: Color.mSurface
// Smooth color animation
Behavior on fillColor {
ColorAnimation {
duration: Style.animationFast
}
}
// ========== PATH DEFINITION ==========
// Draws a rectangle with potentially inverted corners
// All coordinates are relative to startX/startY