Increase context menus minimum opacity
The previous opacity could be unreadable when there was lots of text behind, notably for the account menu with the room list behind.
This commit is contained in:
@@ -150,7 +150,12 @@ controls:
|
||||
color checkedOverlay: controls.button.checkedOverlay
|
||||
|
||||
menu:
|
||||
color background: controls.button.background
|
||||
color background: hsluv(
|
||||
colors.hue,
|
||||
colors.bgSaturation * 2,
|
||||
colors.intensity,
|
||||
Math.max(0.9, colors.opacity),
|
||||
)
|
||||
color border: "black"
|
||||
real borderWidth: 2
|
||||
|
||||
|
@@ -153,7 +153,12 @@ controls:
|
||||
color checkedOverlay: controls.button.checkedOverlay
|
||||
|
||||
menu:
|
||||
color background: controls.button.background
|
||||
color background: hsluv(
|
||||
colors.hue,
|
||||
colors.bgSaturation * 2,
|
||||
colors.intensity,
|
||||
Math.max(0.9, colors.opacity),
|
||||
)
|
||||
color border: "black"
|
||||
real borderWidth: 2
|
||||
|
||||
|
Reference in New Issue
Block a user