Fixed bug where it would draw a triangle instead of a rectangle

This commit is contained in:
Lukasz Baldyga committed 2020-11-30 09:28:26 +00:00
1 parent d962babf60
commit d5e52853c1
1 file changed
+1 -1
@@ -30,7 +30,7 @@ namespace Advanced_Software_Engineering.Verbs.DrawingVerbs {
new PointValue(negativeWidth, negativeHeight), new PointValue(negativeWidth, negativeHeight),
new PointValue(width, negativeHeight), new PointValue(width, negativeHeight),
new PointValue(width, height), new PointValue(width, height),
new PointValue(negativeWidth, negativeHeight) new PointValue(negativeWidth, height)
}; };
verb = new DrawLines(drawer, points); verb = new DrawLines(drawer, points);