ui: increase thumbnail edge contrast

This commit is contained in:
Travis Abendshien
2024-08-31 21:14:24 -07:00
parent 81ddf5366c
commit cc2e9f97c4

View File

@@ -409,9 +409,9 @@ class ThumbRenderer(QObject):
faded (bool): Whether or not to apply a faded version of the edge.
Used for light themes.
"""
opacity: float = 0.75 if not faded else 0.6
opacity: float = 0.8 if not faded else 0.6
shade_reduction: float = (
0.15
0
if QGuiApplication.styleHints().colorScheme() is Qt.ColorScheme.Dark
else 0.3
)