mirror of
https://github.com/Insality/druid
synced 2025-09-27 18:12:21 +02:00
Remove on_message_input functional
This commit is contained in:
@@ -357,17 +357,6 @@ function M:on_layout_change()
|
||||
end
|
||||
|
||||
|
||||
function M:on_message_input(node_id, message)
|
||||
if node_id ~= self.node_id then
|
||||
return false
|
||||
end
|
||||
|
||||
if message.action == const.MESSAGE_INPUT.TEXT_SET then
|
||||
M.set_text(self, message.value)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
--- Calculate text width with font with respect to trailing space
|
||||
---@param text string|nil
|
||||
---@return number Width
|
||||
|
Reference in New Issue
Block a user