mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-15 12:50:33 +02:00
Scroll implemented
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user