Scroll implemented

This commit is contained in:
Sonaion
2019-12-16 19:23:56 +01:00
parent 1c29d564c7
commit 67a72fe487
14 changed files with 75 additions and 13 deletions

View File

@@ -58,3 +58,11 @@ void IntelliToolRechteck::onMouseMoved(int x, int y){
}
IntelliTool::onMouseMoved(x,y);
}
void IntelliToolRechteck::onWheelScrolled(int value){
IntelliTool::onWheelScrolled(value);
this->edgeWidth+=value;
if(this->edgeWidth<=0){
this->edgeWidth=1;
}
}