Fix scrollbars not updating while mouse pressed on Windows

This commit is contained in:
2015-08-19 16:45:05 -04:00
committed by Celtic Minstrel
parent 36ad3b5420
commit 5ae96f2c45
3 changed files with 5 additions and 1 deletions

View File

@@ -68,7 +68,6 @@ bool cScrollbar::handleClick(location where) {
if(max == 0) return false;
sf::Event e;
bool done = false, clicked = false;
inWindow->setActive();
depressed = true;
int bar_height = frame.height() - 32;
rectangle thumbRect = frame;