Merge pull request #110527 from WhalesState/text-edit-styles

Fix TextEdit `read_only` drawing.
This commit is contained in:
Thaddeus Crews
2025-10-01 13:12:47 -05:00
4 changed files with 86 additions and 107 deletions

View File

@ -661,6 +661,9 @@ private:
// FIXME: Helper method to draw unfilled rects, should be moved to RenderingServer.
void _draw_rect_unfilled(RID p_canvas_item, const Rect2 &p_rect, const Color &p_color, real_t p_width = -1.0, bool p_antialiased = false) const;
/* Theme. */
Ref<StyleBox> _get_current_stylebox() const;
/*** Super internal Core API. Everything builds on it. ***/
bool text_changed_dirty = false;
void _text_changed();