mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-01 10:38:17 +08:00
Remove unnecessary super.render calls (#1084)
* Remove unnecessary super.render calls * Update tutorial and docs
This commit is contained in:
@ -30,7 +30,6 @@ class Square extends PositionComponent with HasGameRef<Priority>, Tappable {
|
||||
|
||||
@override
|
||||
void render(Canvas canvas) {
|
||||
super.render(canvas);
|
||||
canvas.drawRect(size.toRect(), paint);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user