sdl_runtime_compiler git · main
SDL3 game for running and compiling code at runtime
C++ 72.3% C 26.2%git clone https://git.christianimmanuel.de/sdl-graphics/sdl_runtime_compiler.gitwget https://git.christianimmanuel.de/sdl-graphics/sdl_runtime_compiler/archive/sdl_runtime_compiler.tar.gzFix some tokens bloom on startup With Claude
src/text/handler.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/text/handler.cpp b/src/text/handler.cpp index de0e562..2efbeb5 100644 --- a/src/text/handler.cpp +++ b/src/text/handler.cpp @@ -973,6 +973,12 @@ Handler::relayout_Editing() bt.t->half_extent_y = (float)_he_y; bt.t->shape.half_extents.x = tok_w * 0.5; bt.t->shape.half_extents.y = _he_y; + // Embedded in the wall now → not "loose in the world", so no bloom. + // Whitespace tokens are constructed with glow on (a glowing ghost while + // carried / in flight); clear it once they're placed so the editor wall + // doesn't bloom the indentation. Re-enabled naturally on the next loose + // token; placed tokens stay calm. + bt.t->glow_enabled = false; ln.tokens.push_back(std::move(bt.t)); }