[Scummvm-cvs-logs] SF.net SVN: scummvm: [23331] scummvm/branches/branch-0-9-0/gui/widget.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Wed Jun 28 07:01:12 CEST 2006
Revision: 23331
Author: eriktorbjorn
Date: 2006-06-27 22:01:08 -0700 (Tue, 27 Jun 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=23331&view=rev
Log Message:
-----------
Backported fix for dragging a slider to its minimum value "too quickly".
Modified Paths:
--------------
scummvm/branches/branch-0-9-0/gui/widget.cpp
Modified: scummvm/branches/branch-0-9-0/gui/widget.cpp
===================================================================
--- scummvm/branches/branch-0-9-0/gui/widget.cpp 2006-06-28 04:52:48 UTC (rev 23330)
+++ scummvm/branches/branch-0-9-0/gui/widget.cpp 2006-06-28 05:01:08 UTC (rev 23331)
@@ -265,7 +265,7 @@
}
void SliderWidget::handleMouseMoved(int x, int y, int button) {
- if (isEnabled() && _isDragging && x >= 0) {
+ if (isEnabled() && _isDragging) {
int newValue = posToValue(x);
if (newValue < _valueMin)
newValue = _valueMin;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list