Update private annotations

This commit is contained in:
Insality
2025-03-18 21:41:09 +02:00
parent 19ea7fcff9
commit 3c063313de
9 changed files with 36 additions and 11 deletions

View File

@@ -45,6 +45,7 @@ function M:init(node, key, init_value)
end
---@private
---@param style druid.progress.style
function M:on_style_change(style)
self.style = {
@@ -54,11 +55,13 @@ function M:on_style_change(style)
end
---@private
function M:on_layout_change()
self:set_to(self.last_value)
end
---@private
function M:on_remove()
gui.set_size(self.node, self.max_size)
end