Fix acrylic effect for FluNavigationView CompactAndPanel mode.
parent
1b41bd1bcd
commit
3b42b30518
|
@ -1 +1 @@
|
||||||
Subproject commit 1778f85e05aad0b22cb9f86aca989f9dc78b3df7
|
Subproject commit d8ad4fda9c412436adace0dac1aa6241c9231deb
|
|
@ -636,13 +636,13 @@ Item {
|
||||||
sourceItem:nav_swipe
|
sourceItem:nav_swipe
|
||||||
anchors.fill: layout_list
|
anchors.fill: layout_list
|
||||||
color: {
|
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 FluTheme.dark ? Qt.rgba(61/255,61/255,61/255,1) : Qt.rgba(243/255,243/255,243/255,1)
|
||||||
}
|
}
|
||||||
return "transparent"
|
return "transparent"
|
||||||
}
|
}
|
||||||
visible: d.isMinimal
|
visible: d.isMinimalAndPanel || d.isCompactAndPanel
|
||||||
rectX: layout_list.x
|
rectX: d.isCompactAndPanel ? (layout_list.x - 50) : layout_list.x
|
||||||
rectY: layout_list.y - 60
|
rectY: layout_list.y - 60
|
||||||
acrylicOpacity:0.9
|
acrylicOpacity:0.9
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue