quickshell: sync concave corners with calendar slide animation
Corners now track calContent.height (clamped to 8px) instead of fading opacity, so they reveal with the same slide-down morph. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
3271262e8d
commit
36b02fb888
1 changed files with 6 additions and 8 deletions
|
|
@ -861,10 +861,9 @@ in
|
|||
anchors.right: calContent.left
|
||||
anchors.top: parent.top
|
||||
width: 8
|
||||
height: 8
|
||||
visible: calPopup.open
|
||||
opacity: calPopup.open ? 1.0 : 0.0
|
||||
Behavior on opacity { NumberAnimation { duration: 150 } }
|
||||
height: Math.min(8, calContent.height)
|
||||
visible: calContent.height > 0
|
||||
clip: true
|
||||
onPaint: {
|
||||
var ctx = getContext("2d");
|
||||
var r = width;
|
||||
|
|
@ -888,10 +887,9 @@ in
|
|||
anchors.left: calContent.right
|
||||
anchors.top: parent.top
|
||||
width: 8
|
||||
height: 8
|
||||
visible: calPopup.open
|
||||
opacity: calPopup.open ? 1.0 : 0.0
|
||||
Behavior on opacity { NumberAnimation { duration: 150 } }
|
||||
height: Math.min(8, calContent.height)
|
||||
visible: calContent.height > 0
|
||||
clip: true
|
||||
onPaint: {
|
||||
var ctx = getContext("2d");
|
||||
var r = width;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue