mirror of
https://github.com/Insality/druid.git
synced 2025-09-28 02:22:18 +02:00
Add set_pivot to text component
This commit is contained in:
@@ -12,9 +12,9 @@ M.interest = {
|
||||
}
|
||||
|
||||
|
||||
function M.init(self, node, lang_id)
|
||||
function M.init(self, node, lang_id, no_adjust)
|
||||
self.druid = helper.get_druid(self)
|
||||
self.text = self.druid:new_text(node)
|
||||
self.text = self.druid:new_text(node, lang_id, no_adjust)
|
||||
self:translate(lang_id)
|
||||
|
||||
return self
|
||||
|
Reference in New Issue
Block a user