]> sigrok.org Git - pulseview.git/commitdiff
Provide short-term fix for #627 by limiting zoom range to 100 ps
authorSoeren Apel <redacted>
Sun, 23 Aug 2015 12:21:33 +0000 (14:21 +0200)
committerUwe Hermann <redacted>
Tue, 25 Aug 2015 16:11:16 +0000 (18:11 +0200)
pv/view/view.cpp

index f146470d314f72443c9b90063f20e42da9575abd..fdb9354b9315cefe4c4a06d23b00a879db7bab82 100644 (file)
@@ -84,7 +84,7 @@ namespace pv {
 namespace view {
 
 const double View::MaxScale = 1e9;
 namespace view {
 
 const double View::MaxScale = 1e9;
-const double View::MinScale = 1e-15;
+const double View::MinScale = 1e-12;
 
 const int View::MaxScrollValue = INT_MAX / 2;
 const int View::MaxViewAutoUpdateRate = 25; // No more than 25 Hz with sticky scrolling
 
 const int View::MaxScrollValue = INT_MAX / 2;
 const int View::MaxViewAutoUpdateRate = 25; // No more than 25 Hz with sticky scrolling