fix statelayer colors for various components, add logic for color background feedback on tray items when icon doesn't have color layer
This commit is contained in:
@@ -210,6 +210,8 @@ Item {
|
||||
StateLayer {
|
||||
id: layer
|
||||
|
||||
color: categoryItem.index === clayout.currentIndex ? DynamicColors.palette.m3onPrimary : DynamicColors.palette.m3onSurface
|
||||
|
||||
onClicked: {
|
||||
root.content.currentCategory = categoryItem.key;
|
||||
clayout.currentIndex = categoryItem.index;
|
||||
|
||||
Reference in New Issue
Block a user