From d1dc2c3a5f4fc1d737eeac7d0fb9c87bf89c392b Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sun, 6 Oct 2019 18:09:23 +0200 Subject: Add more zoom --- gui/fpgaviewwidget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui') diff --git a/gui/fpgaviewwidget.h b/gui/fpgaviewwidget.h index 3c0cfbbd..6236daca 100644 --- a/gui/fpgaviewwidget.h +++ b/gui/fpgaviewwidget.h @@ -126,7 +126,7 @@ class FPGAViewWidget : public QOpenGLWidget, protected QOpenGLFunctions void clickedPip(PipId pip, bool add); private: - const float zoomNear_ = 0.1f; // do not zoom closer than this + const float zoomNear_ = 0.05f; // do not zoom closer than this float zoomFar_ = 10.0f; // do not zoom further than this const float zoomLvl1_ = 1.0f; const float zoomLvl2_ = 5.0f; -- cgit v1.2.3