mirror of
https://github.com/Insality/druid.git
synced 2025-09-27 18:12:19 +02:00
Input implementation progress
This commit is contained in:
@@ -194,4 +194,12 @@ function M.set_pivot(self, pivot)
|
||||
end
|
||||
|
||||
|
||||
--- Return true, if text with line break
|
||||
-- @function text:is_multiline
|
||||
-- @treturn boolean Is text node with line break
|
||||
function M.is_multiline(self)
|
||||
return gui.get_line_break(self.node)
|
||||
end
|
||||
|
||||
|
||||
return M
|
||||
|
Reference in New Issue
Block a user