Solve #188 Add drag component total_x/total_y

This commit is contained in:
Insality
2022-06-15 10:34:19 +05:00
parent 415869e2bf
commit c9f862ac03
2 changed files with 8 additions and 7 deletions

View File

@@ -8,6 +8,7 @@ local const = require("druid.const")
local M = {}
--- Text node or icon node can be nil
local function get_text_width(text_node)
if text_node then