From: Soeren Apel Date: Sun, 23 Aug 2015 12:21:33 +0000 (+0200) Subject: Provide short-term fix for #627 by limiting zoom range to 100 ps X-Git-Tag: pulseview-0.3.0~136 X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=818f617924d2ed393cadd362fdafbd9d4288848f Provide short-term fix for #627 by limiting zoom range to 100 ps --- diff --git a/pv/view/view.cpp b/pv/view/view.cpp index f146470d..fdb9354b 100644 --- a/pv/view/view.cpp +++ b/pv/view/view.cpp @@ -84,7 +84,7 @@ namespace pv { 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