mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-23 19:20:59 +08:00
Fix acrylic effect for FluNavigationView CompactAndPanel mode.
This commit is contained in:
parent
1b41bd1bcd
commit
3b42b30518
@ -1 +1 @@
|
||||
Subproject commit 1778f85e05aad0b22cb9f86aca989f9dc78b3df7
|
||||
Subproject commit d8ad4fda9c412436adace0dac1aa6241c9231deb
|
@ -636,13 +636,13 @@ Item {
|
||||
sourceItem:nav_swipe
|
||||
anchors.fill: layout_list
|
||||
color: {
|
||||
if(d.isMinimal){
|
||||
if(d.isMinimalAndPanel || d.isCompactAndPanel){
|
||||
return FluTheme.dark ? Qt.rgba(61/255,61/255,61/255,1) : Qt.rgba(243/255,243/255,243/255,1)
|
||||
}
|
||||
return "transparent"
|
||||
}
|
||||
visible: d.isMinimal
|
||||
rectX: layout_list.x
|
||||
visible: d.isMinimalAndPanel || d.isCompactAndPanel
|
||||
rectX: d.isCompactAndPanel ? (layout_list.x - 50) : layout_list.x
|
||||
rectY: layout_list.y - 60
|
||||
acrylicOpacity:0.9
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user