From 12b29b9f1a0069a398346a7d19172f80ae01a2bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sat, 10 Dec 2005 08:21:50 +0000 Subject: [PATCH] forgot to add a comment git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15460 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/ScrollBar.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/kits/interface/ScrollBar.cpp b/src/kits/interface/ScrollBar.cpp index 7110b5da44..f31f28718d 100644 --- a/src/kits/interface/ScrollBar.cpp +++ b/src/kits/interface/ScrollBar.cpp @@ -317,6 +317,9 @@ BScrollBar::ValueChanged(float newValue) void BScrollBar::SetProportion(float value) { + // NOTE: The Tracker depends on the broken + // behaviour to allow a proportion less than + // 0 or greater than 1 /* if (value < 0.0) value = 0.0; if (value > 1.0)