Fix ASCII rasterizer scaling for CLI

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
2026-03-16 16:29:08 +01:00
parent 5b417c9182
commit 400720a56e
4 changed files with 40 additions and 22 deletions

View File

@@ -54,6 +54,27 @@ class _GameScreenState extends State<GameScreen> {
? WolfAsciiRenderer(engine: _engine)
: WolfFlutterRenderer(engine: _engine),
if (!_engine.isInitialized)
Container(
color: Colors.black,
child: const Center(
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
CircularProgressIndicator(color: Colors.teal),
SizedBox(height: 20),
Text(
"GET PSYCHED!",
style: TextStyle(
color: Colors.teal,
fontFamily: 'monospace',
),
),
],
),
),
),
// TAB listener
Focus(
autofocus: true,