Nimbin[12]?SDL & Graphics / sdl_runtime_compiler / commits / 5508dfc

sdl_runtime_compiler git · main

SDL3 game for running and compiling code at runtime

sdl3 c++ compiler dlopen cmake · first commit 2026-04-19 · last commit 2026-07-03 (3 months ago) · synced 3 days ago · upstream: git.ide3.de/hsnr/sdl-runtime-compiler

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.gz

Fix some tokens bloom on startup With Claude

Christian Immanuel · 2026-06-27 09:58 · 5508dfc0bc6837c3504204c937c933bf098b079a

 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));
         }