Implement tab drag and drop

This commit is contained in:
Guldoman
2021-10-02 18:36:59 +02:00
committed by Francesco Abbate
parent 86632b68de
commit dced6da03d
3 changed files with 256 additions and 23 deletions
+5
View File
@@ -41,6 +41,11 @@ function common.lerp(a, b, t)
end
function common.distance(x1, y1, x2, y2)
return math.sqrt(math.pow(x2-x1, 2)+math.pow(y2-y1, 2))
end
function common.color(str)
local r, g, b, a = str:match("#(%x%x)(%x%x)(%x%x)")
if r then