1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-03 11:02:08 -04:00

fix(Frame): Update all remaining known issues & align state modes

This commit is contained in:
purian23
2026-05-01 21:17:22 -04:00
parent e07696a963
commit ec073ddd67
9 changed files with 37 additions and 28 deletions

View File

@@ -771,17 +771,17 @@ Item {
Region {
id: contentInputMask
// Outside-click dismissal needs full-screen input only while interactive.
item: (shouldBeVisible && backgroundInteractive) ? fullScreenMaskItem : contentMaskRect
// Use bar-aware mask so bar widget clicks pass through when a popout is open.
item: (shouldBeVisible && backgroundInteractive) ? backgroundDismissalMask : contentMaskRect
}
Item {
id: fullScreenMaskItem
id: backgroundDismissalMask
visible: false
x: 0
y: 0
width: 32767
height: 32767
x: root.maskX
y: root.maskY
width: root.maskWidth
height: root.maskHeight
}
Item {

View File

@@ -236,7 +236,7 @@ Item {
function _setAnimatedSurfaceEnvelope() {
if (!shouldBeVisible)
return;
if (_fullHeight || !fluidStandaloneActive) {
if (_fullHeight) {
_setSettledSurfaceGeometry();
return;
}
@@ -374,7 +374,7 @@ Item {
readonly property bool renderedGeometryGrowing: alignedHeight >= renderedAlignedHeight
Behavior on renderedAlignedY {
enabled: root.animationsEnabled && fluidStandaloneActive && contentWindow.visible && root.shouldBeVisible
enabled: root.animationsEnabled && contentWindow.visible && root.shouldBeVisible
NumberAnimation {
duration: Theme.variantDuration(root.animationDuration, root.renderedGeometryGrowing)
easing.type: Easing.BezierSpline
@@ -383,7 +383,7 @@ Item {
}
Behavior on renderedAlignedHeight {
enabled: root.animationsEnabled && fluidStandaloneActive && contentWindow.visible && root.shouldBeVisible
enabled: root.animationsEnabled && contentWindow.visible && root.shouldBeVisible
NumberAnimation {
duration: Theme.variantDuration(root.animationDuration, root.renderedGeometryGrowing)
easing.type: Easing.BezierSpline
@@ -633,15 +633,15 @@ Item {
x: contentContainer.x
y: contentContainer.y
width: contentWindow.closeVisualActive ? root.alignedWidth : 0
height: contentWindow.closeVisualActive ? (root.fluidStandaloneActive ? root.renderedAlignedHeight : root.alignedHeight) : 0
height: contentWindow.closeVisualActive ? root.renderedAlignedHeight : 0
}
Item {
id: contentContainer
x: shadowBuffer + root.alignedX - root._surfaceBodyX
y: root._fullHeight ? (root.fluidStandaloneActive ? root.renderedAlignedY : root.alignedY) : shadowBuffer + (root.fluidStandaloneActive ? root.renderedAlignedY : root.alignedY) - root._surfaceBodyY
y: root._fullHeight ? root.renderedAlignedY : shadowBuffer + root.renderedAlignedY - root._surfaceBodyY
width: root.alignedWidth
height: root.fluidStandaloneActive ? root.renderedAlignedHeight : root.alignedHeight
height: root.renderedAlignedHeight
readonly property bool barTop: effectiveBarPosition === SettingsData.Position.Top
readonly property bool barBottom: effectiveBarPosition === SettingsData.Position.Bottom