We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 08ec3a3 + 79e9e16 commit 8afdcc8Copy full SHA for 8afdcc8
src/Graphics/Graphics.h
@@ -190,6 +190,8 @@ class Graphics: public ImageDrawer
190
{
191
cursorX = cursorBaseX;
192
cursorY += font->charHeight;
193
+ if(autoScroll && cursorY + font->charHeight > yres)
194
+ scroll(cursorY + font->charHeight - yres, backColor);
195
}
196
else
197
print(*str);
@@ -199,7 +201,7 @@ class Graphics: public ImageDrawer
199
201
200
202
void println(const char *str)
203
- print(str);
204
+ print(str);
205
print("\n");
206
207
0 commit comments