From 90ba958abe85ced03f16888644dd026b133cab36 Mon Sep 17 00:00:00 2001 From: Sergiusz Bazanski Date: Tue, 24 Jul 2018 03:03:31 +0100 Subject: ice40: fixes before review --- gui/fpgaviewwidget.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gui/fpgaviewwidget.cc') diff --git a/gui/fpgaviewwidget.cc b/gui/fpgaviewwidget.cc index cd042af5..e21af678 100644 --- a/gui/fpgaviewwidget.cc +++ b/gui/fpgaviewwidget.cc @@ -400,7 +400,6 @@ void FPGAViewWidget::paintGL() // Calculate world thickness to achieve a screen 1px/1.1px line. float thick1Px = mouseToWorldCoordinates(1, 0).x(); float thick11Px = mouseToWorldCoordinates(1.1, 0).x(); - float thick2Px = mouseToWorldCoordinates(2, 0).x(); // Draw grid. auto grid = LineShaderData(); @@ -419,7 +418,7 @@ void FPGAViewWidget::paintGL() for (int i = 0; i < 8; i++) lineShader_.draw(rendererData_->highlighted[i], colors_.highlight[i], thick11Px, matrix); - lineShader_.draw(rendererData_->selected, colors_.selected, thick2Px, matrix); + lineShader_.draw(rendererData_->selected, colors_.selected, thick11Px, matrix); rendererDataLock_.unlock(); } -- cgit v1.2.3