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

Andrei Zavada johnhommer at gmail.com
Wed May 1 00:09:31 UTC 2013


The following commit has been merged in the master branch:
commit 21e170502c19e5c71f06b815ab96e83bad5db78e
Author: Andrei Zavada <johnhommer at gmail.com>
Date:   Thu Apr 25 01:42:55 2013 +0300

    complete e9e19394567d

diff --git a/src/ui/mw/measurements.cc b/src/ui/mw/measurements.cc
index 566cd3a..c1e54e0 100644
--- a/src/ui/mw/measurements.cc
+++ b/src/ui/mw/measurements.cc
@@ -305,7 +305,7 @@ void
 aghui::SExpDesignUI::
 modify_active_profile_scale( const GdkScrollDirection d)
 {
-	auto fac = (d == GDK_SCROLL_DOWN) ? 1/1.05 : 1.05;
+	auto fac = (d == GDK_SCROLL_DOWN) ? 1/scroll_factor : scroll_factor;
 	switch ( display_profile_type ) {
 	case metrics::TType::psd: profile_scale_psd *= fac; break;
 	case metrics::TType::swu: profile_scale_swu *= fac; break;
@@ -318,7 +318,7 @@ void
 aghui::SExpDesignUI::
 modify_profile_scales( const GdkScrollDirection d)
 {
-	auto fac = (d == GDK_SCROLL_DOWN) ? 1/1.05 : 1.05;
+	auto fac = (d == GDK_SCROLL_DOWN) ? 1/scroll_factor : scroll_factor;
 	profile_scale_psd *= fac;
 	profile_scale_swu *= fac;
 	profile_scale_mc  *= fac;

-- 
Sleep experiment manager



More information about the debian-med-commit mailing list