mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-01 19:12:31 +08:00
fix warning
This commit is contained in:
@ -81,7 +81,7 @@ abstract class BaseGame extends Game {
|
||||
@mustCallSuper
|
||||
void preAdd(Component c) {
|
||||
if (debugMode() && c is PositionComponent) {
|
||||
(c as PositionComponent).debugMode = true;
|
||||
c.debugMode = true;
|
||||
}
|
||||
// first time resize
|
||||
if (size != null) {
|
||||
|
||||
Reference in New Issue
Block a user