-small bugfix for scrollbars

This commit is contained in:
Mark Vejvoda 2012-11-06 00:20:48 +00:00
parent 8c182b9712
commit 5bcc15a7fc
1 changed files with 4 additions and 0 deletions

View File

@ -823,6 +823,10 @@ bool GraphicScrollBar::mouseClick(int x, int y){
bool GraphicScrollBar::mouseMove(int x, int y){
if(this->getVisible() == false) {
return false;
}
bool inScrollBar = GraphicComponent::mouseMove(x, y);
if (activated) {
lighted = true;