From 5fa360542f41aefd93178d56ecd700ec6184523e Mon Sep 17 00:00:00 2001 From: jjw36 Date: Thu, 11 Mar 2021 20:32:56 -0500 Subject: [PATCH] fixed Rectangle::setHeight() setHeight() updated the width instead of the height of the rectangle... --- src/TSGL/Rectangle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TSGL/Rectangle.cpp b/src/TSGL/Rectangle.cpp index 9788c7c07..773260396 100644 --- a/src/TSGL/Rectangle.cpp +++ b/src/TSGL/Rectangle.cpp @@ -112,7 +112,7 @@ void Rectangle::setHeight(GLfloat height) { return; } attribMutex.lock(); - myWidth = height; + myHeight = height; myYScale = height; attribMutex.unlock(); }