Skip to content

Commit 496c70c

Browse files
committed
Optimize texts drawing
1 parent 548b94e commit 496c70c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • app/src/main/java/org/thunderdog/challegram/util/text

‎app/src/main/java/org/thunderdog/challegram/util/text/Text.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2520,8 +2520,8 @@ public void draw (Canvas c, int startX, int endX, int endXBottomPadding, int sta
25202520
saveCount = -1;
25212521
}
25222522

2523-
for (QuoteBackground quote : quotes) {
2524-
quote.draw(c, startX, endX, endXBottomPadding, startY);
2523+
for (int i = 0; i < quotes.size(); i++) {
2524+
quotes.get(i).draw(c, startX, endX, endXBottomPadding, startY);
25252525
}
25262526

25272527
lastStartY = startY;

0 commit comments

Comments
 (0)