Fixed misspelled variable

This commit is contained in:
2019-12-19 17:32:07 +01:00
parent a2f2e38a06
commit dcd26f76ef
5 changed files with 8 additions and 8 deletions

View File

@@ -57,7 +57,7 @@ void IntelliToolFloodFill::onMouseLeftPressed(int x, int y){
Canvas->image->drawPixel(top,newColor);
Q.push(top);
}
if((down.y() < Canvas->hight) && (Canvas->image->getPixelColor(down) != newColor) && (Active->image->getPixelColor(down) == oldColor)){
if((down.y() < Canvas->height) && (Canvas->image->getPixelColor(down) != newColor) && (Active->image->getPixelColor(down) == oldColor)){
Canvas->image->drawPixel(down,newColor);
Q.push(down);
}