The following commit has been merged in the master branch:
commit 04d2842b5c083e6c70b889155f2ecfb5c21f3ce6
Author: Andrei Zavada <[email protected]>
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
_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit