TextLine
goes blank when changing window content_scale_mode
and content_scale_factor
.
#104626
Labels
TextLine
goes blank when changing window content_scale_mode
and content_scale_factor
.
#104626
Tested versions
System information
Godot v4.4.stable - Windows 11 (build 22631) - Multi-window, 2 monitors - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2070 SUPER (NVIDIA; 32.0.15.7247) - AMD Ryzen 7 5700X 8-Core Processor (16 threads)
Issue description
I didn't notice this issue at first because I was clearing the canvas item and redrawing the
TextLine
each update. I then realized I didn't need to redraw each update and removed the clear/draw:This optimization worked as expected. But when changing the window
content_scale_mode
andcontent_scale_factor
, the drawnTextLine
turns into a box.Recording.2025-03-25.164319.mp4
Steps to reproduce
test.tscn
Minimal reproduction project (MRP)
textline-bug-mrp.zip
The text was updated successfully, but these errors were encountered: