fixed broken labgrid after previous commit

This commit is contained in:
Alberto Griggio
2018-10-30 22:30:12 +01:00
parent 74a467fb4e
commit 4eb93c24f8
2 changed files with 9 additions and 3 deletions

View File

@@ -177,7 +177,7 @@ bool LabGrid::on_draw(const ::Cairo::RefPtr<Cairo::Context> &crf)
cr->translate(0, height);
cr->scale(1., -1.);
const int cells = 8;
float step = 1.f / float(cells/2);
float step = 12000.f / float(cells/2);
for (int j = 0; j < cells; j++) {
for (int i = 0; i < cells; i++) {
float R, G, B;