clang-format

This commit is contained in:
trilene 2020-11-13 09:06:38 -05:00
parent 8c037f83c5
commit ee543254e8
3 changed files with 5 additions and 5 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);
}