mirror of
https://github.com/Insality/druid
synced 2025-11-26 10:50:54 +01:00
Fix: clear rich text default node on layout changed
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user