Skip to content

Commit 9e05e2c

Browse files
committed
Update text overlay
1 parent 69e6ba8 commit 9e05e2c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/main/java/org/billthefarmer/buses/TextOverlay.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ public void setText(List<String> textList)
7171
this.textList = textList;
7272
}
7373

74+
// Get text
75+
public List<String> getText()
76+
{
77+
return this.textList;
78+
}
79+
7480
// Set text size
7581
public void setTextSize(int fontSize)
7682
{
@@ -114,9 +120,6 @@ public void draw(Canvas canvas, MapView map, boolean shadow)
114120
if (shadow)
115121
return;
116122

117-
if (map.isAnimating())
118-
return;
119-
120123
if (alignRight)
121124
{
122125
x = width - xOffset;

0 commit comments

Comments
 (0)