mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 20:13:50 +08:00
zero analyzer issues
This commit is contained in:
@ -126,6 +126,7 @@ class TextBoxComponent extends PositionComponent with Resizable {
|
||||
|
||||
double get currentHeight => _withMargins((currentLine + 1) * _lineHeight);
|
||||
|
||||
@override
|
||||
void render(Canvas c) {
|
||||
if (_cache == null) {
|
||||
return;
|
||||
@ -168,6 +169,7 @@ class TextBoxComponent extends PositionComponent with Resizable {
|
||||
_cache = await _redrawCache();
|
||||
}
|
||||
|
||||
@override
|
||||
void update(double dt) {
|
||||
final int prevCurrentChar = currentChar;
|
||||
_lifeTime += dt;
|
||||
|
||||
Reference in New Issue
Block a user