Fix: clear rich text default node on layout changed

This commit is contained in:
Insality
2025-10-02 19:21:28 +03:00
parent f99fb5c9b9
commit 6890a129b7

View File

@@ -94,6 +94,8 @@ end
---@private ---@private
function M:on_layout_change() function M:on_layout_change()
gui.set_text(self.root, "")
if self._last_value then if self._last_value then
self:set_text(self._last_value) self:set_text(self._last_value)
end end