The edit-mode font switcher called LoadFont() directly between NewFrame() and Render(), invalidating the font atlas ImGui was actively using. Use RequestLoadFont() to defer the change to the safe inter-frame point, matching the existing zoom pattern. Also default code_font/writing_font to the main font when not explicitly configured, preventing a mismatch that triggered the switch on every first frame. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
5.9 KiB
5.9 KiB