Add gitlab ci

This commit is contained in:
Nicolas Werner 2020-04-30 19:27:27 -04:00 committed by Nicolas Werner
parent 7e29f119d3
commit 0cc4ab7f17
8 changed files with 160 additions and 6 deletions

View file

@ -638,7 +638,7 @@ utils::luminance(const QColor &col)
qreal lumRgb[3];
for (int i = 0; i < 3; i++) {
qreal v = colRgb[i] / 255.0;
qreal v = colRgb[i] / 255.0;
v <= 0.03928 ? lumRgb[i] = v / 12.92 : lumRgb[i] = qPow((v + 0.055) / 1.055, 2.4);
}