[med-svn] [SCM] aghermann branch, master, updated. 17c5ded0cb1e251d8640a94750eb700b2e062b2a

Andrei Zavada johnhommer at gmail.com
Sun Feb 24 13:40:18 UTC 2013


The following commit has been merged in the master branch:
commit 04d2842b5c083e6c70b889155f2ecfb5c21f3ce6
Author: Andrei Zavada <johnhommer at gmail.com>
Date:   Sat Feb 9 17:04:24 2013 +0200

    ensure signal line remains visible at high visible page sizes

diff --git a/src/ui/sf/sf.hh b/src/ui/sf/sf.hh
index 9cc4c1a..80c34e6 100644
--- a/src/ui/sf/sf.hh
+++ b/src/ui/sf/sf.hh
@@ -626,7 +626,9 @@ SScoringFacility::SChannel::spp() const
 inline float
 SScoringFacility::SChannel::fine_line() const
 {
-	return ((not resample_signal) and spp() > 1.) ? .6 / (spp() + .2) : .6;
+	return ((not resample_signal) and spp() > 1.)
+		? agh::alg::value_within( .6 / (spp() + .2), .1, 3.)
+		: .6;
 }
 inline int
 SScoringFacility::SChannel::sample_at_click( double x) const

-- 
Sleep experiment manager



More information about the debian-med-commit mailing list