aboutsummaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2019-10-06 18:09:23 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2019-10-20 09:41:48 +0200
commitd1dc2c3a5f4fc1d737eeac7d0fb9c87bf89c392b (patch)
tree9ebc87bd95dae1968108e5ac33735e39628b1125 /gui
parentf7a6d4dc06c333ebb8165daa1e2b4d23c188285d (diff)
downloadnextpnr-d1dc2c3a5f4fc1d737eeac7d0fb9c87bf89c392b.tar.gz
nextpnr-d1dc2c3a5f4fc1d737eeac7d0fb9c87bf89c392b.tar.bz2
nextpnr-d1dc2c3a5f4fc1d737eeac7d0fb9c87bf89c392b.zip
Add more zoom
Diffstat (limited to 'gui')
-rw-r--r--gui/fpgaviewwidget.h2
1 files changed, 1 insertions, 1 deletions
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;