Add more zoom

This commit is contained in:
Miodrag Milanovic 2019-10-06 18:09:23 +02:00
parent f7a6d4dc06
commit d1dc2c3a5f

View File

@ -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;