Qt: draw the search clear button, fade home out under the drawer
The phone's font has no ✕, so the clear button showed as a missing-glyph box; it is now two drawn strokes. The home screen showed through the drawer's backdrop; it now fades out as the drawer slides over it, leaving only the wallpaper behind the app list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
This commit is contained in:
3 files changed
+18
-5
No files matched your search
@@ -418,6 +418,9 @@ Window {
|
||||
|
||||
Item {
|
||||
id: scroller
|
||||
// The home screen fades out as the drawer slides over it, so only the
|
||||
// wallpaper is left behind the app list.
|
||||
opacity: drawer.visible ? Math.max(0, 1 - drawer.edge / Math.max(1, root.height)) : 1
|
||||
width: parent.width
|
||||
height: root.contentH
|
||||
y: -root.scrollY
|
||||
|
||||
Reference in new issue
Block a user