Fix scrollbar slider hover

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1990 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Paul Giblock
2009-02-01 00:25:23 +00:00
parent 68a5cc9ab0
commit 15ecb74f38
2 changed files with 7 additions and 2 deletions

View File

@@ -1,4 +1,9 @@
2009-01-28 Paul Giblock <drfaygo/at/gmail/dot/com>
2009-01-31 Paul Giblock <drfaygo/at/gmail/dot/com>
* src/gui/cusis_style.cpp:
Scrollbar slider now highlights properly on hover
2009-01-29 Paul Giblock <drfaygo/at/gmail/dot/com>
* src/tracks/pattern.cpp:
Code style

View File

@@ -620,7 +620,7 @@ void CusisStyle::drawControl( ControlElement _element, const QStyleOption * _opt
QColor sliderColor, blendColor;
hoverColors(sunken, hover,
(scrollBar->activeSubControls & SC_ScrollBarSlider) & isEnabled,
(scrollBar->activeSubControls & SC_ScrollBarSlider) && isEnabled,
sliderColor, blendColor);
QColor background = QColor( 48, 48, 48 );