Commit 303915ef authored by Sebastian Gottfried's avatar Sebastian Gottfried
Browse files

KeyItem: Remove Old Tinting Hack

In Qt Quick 2 we can properly access color components don't have to use
string manipulation to achieve color tinting.
parent a04275a4
......@@ -74,8 +74,7 @@ Item {
}
function getTint(color) {
// stupid hack to set alpha because in Qt Quick 1.1 it's impossible to access color components
color = "#20" + ("" + color).substr(1)
color.a = 0.125
return color
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment