Give notch-mode panels their own liquid drop animation
With no bar to unroll from, attached drawers in notch mode now open as a glass bead that swells out under the clicked island icon on a tapered neck, flips the wallpaper behind it like a lens, then widens into the panel and lets go. NotchDrop draws it with a signed-distance shader; BarDrawer swaps to it in notch mode, and hosts pass the icon's screen x. The notch-shaped wallpaper picker keeps its own motion. Notch settings gain panel opening and closing speeds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6ad9c0b17e
commit
b03bd77941
14 files changed
+287
-9
No files matched your search
@@ -123,6 +123,8 @@ PanelWindow {
|
||||
fillColor:root.notch ? Theme.notchOpenFill : Qt.alpha(Theme.surface,Theme.glassOpacity)
|
||||
openDuration:root.notch ? Theme.notchOpenDuration*2 : Theme.duration*1.8
|
||||
closeDuration:root.notch ? Theme.notchCloseDuration*1.3 : Theme.duration
|
||||
// The notch-shaped picker keeps the notch's own motion.
|
||||
liquid:false
|
||||
drawerId:"wallpaper"
|
||||
screenName:root.screen ? root.screen.name : ""
|
||||
screenX:(root.screenWidth-width)/2
|
||||
|
||||
Reference in new issue
Block a user