Cleanup: removed Color.applyOpacity in favor of Qt.alpha

This commit is contained in:
LemmyCook 2025-09-04 11:29:45 -04:00
parent d53a404bf1
commit c1bec66151
7 changed files with 22 additions and 31 deletions

View file

@ -44,14 +44,6 @@ Singleton {
property color transparent: "transparent"
// -----------
function applyOpacity(color, opacity) {
// Convert color to string and apply opacity
if (!color)
return "transparent"
return color.toString().replace("#", "#" + opacity)
}
// --------------------------------
// Default colors: RosePine
QtObject {