|
on_resize = function(sx,sy)
|
|
for _,node in ipairs(Nodes) do
|
|
if sx >= node.x+node.w+20 and sx < node.x+node.w+24 then
|
|
local buffer_height = math.max(node.h, 3*node.editor.line_height)
|
|
if sy >= node.y and sy < node.y+buffer_height then
|
|
return true
|
|
end
|
|
end
|
|
end
|
|
end |