From 1028468c3f27b35711f435ee37a9bb1c33cc56e8 Mon Sep 17 00:00:00 2001 From: ruinivist Date: Sat, 16 Aug 2025 21:00:03 +0000 Subject: [PATCH] fix debug draw colors --- lib/core/controller/debug.dart | 2 +- lib/core/render.dart | 2 +- lib/utils/styles.dart | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/core/controller/debug.dart b/lib/core/controller/debug.dart index 4f12718..dc7bdc9 100644 --- a/lib/core/controller/debug.dart +++ b/lib/core/controller/debug.dart @@ -18,7 +18,7 @@ class _Debug extends StatelessWidget { bottom: -60, child: Text( 'ID: ${id.substring(0, 4)}\nGS:(${gs.dx.toInt()},${gs.dy.toInt()})\nSS:(${ss.dx.toInt()},${ss.dy.toInt()})', - style: monospaceStyle, + style: monospaceStyle(context), ), ), ], diff --git a/lib/core/render.dart b/lib/core/render.dart index a4f030a..9dccec2 100644 --- a/lib/core/render.dart +++ b/lib/core/render.dart @@ -94,7 +94,7 @@ class _LazyCanvasState extends State with TickerProviderStateMixin TextStyle( + color: Theme.of(context).colorScheme.onSurface, fontSize: 14, fontWeight: FontWeight.bold, fontFamily: 'monospace',