mirror of
https://github.com/Insality/druid
synced 2025-09-27 10:02:19 +02:00
Refactor text setting methods and remove ldoc files
This commit is contained in:
@@ -24,7 +24,7 @@ end
|
||||
|
||||
---@param info string
|
||||
function M:set_debug_info(info)
|
||||
self.text_debug_info:set_to(info)
|
||||
self.text_debug_info:set_text(info)
|
||||
end
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ function M:set_gui_path(path)
|
||||
-- We need add "/" before path and replace .lua to .gui
|
||||
path = "/" .. path:gsub(".lua", ".gui")
|
||||
|
||||
self.text_gui_path:set_to(path)
|
||||
self.text_gui_path:set_text(path)
|
||||
end
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user