mirror of
https://github.com/Insality/druid.git
synced 2025-11-26 19:00:50 +01:00
Update docs
This commit is contained in:
@@ -260,8 +260,8 @@ function Input.set_text(self, input_text)
|
||||
self.text:set_to(final_text)
|
||||
|
||||
-- measure it
|
||||
self.text_width = self.text:get_text_width(value)
|
||||
self.marked_text_width = self.text:get_text_width(marked_value)
|
||||
self.text_width = self.text:get_text_size(value)
|
||||
self.marked_text_width = self.text:get_text_size(marked_value)
|
||||
self.total_width = self.text_width + self.marked_text_width
|
||||
|
||||
self.on_input_text:trigger(self:get_context(), final_text)
|
||||
|
||||
Reference in New Issue
Block a user