Increase max zoom, decrease line width
Signed-off-by: David Shah <davey1576@gmail.com>
This commit is contained in:
parent
1f36242d43
commit
a412903651
@ -297,8 +297,8 @@ void FPGAViewWidget::setZoom(float t_z)
|
|||||||
|
|
||||||
if (zoom_ < 1.0f)
|
if (zoom_ < 1.0f)
|
||||||
zoom_ = 1.0f;
|
zoom_ = 1.0f;
|
||||||
if (zoom_ > 100.f)
|
if (zoom_ > 500.f)
|
||||||
zoom_ = 100.0f;
|
zoom_ = 500.0f;
|
||||||
|
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
@ -354,7 +354,7 @@ void FPGAViewWidget::paintGL()
|
|||||||
lineShader_.draw(grid, matrix);
|
lineShader_.draw(grid, matrix);
|
||||||
|
|
||||||
// Draw Bels.
|
// Draw Bels.
|
||||||
auto bels = LineShaderData(0.002f, QColor("#b000ba"));
|
auto bels = LineShaderData(0.0005f, QColor("#b000ba"));
|
||||||
if (ctx_) {
|
if (ctx_) {
|
||||||
for (auto bel : ctx_->getBels()) {
|
for (auto bel : ctx_->getBels()) {
|
||||||
for (auto &el : ctx_->getBelGraphics(bel))
|
for (auto &el : ctx_->getBelGraphics(bel))
|
||||||
|
Loading…
Reference in New Issue
Block a user