Implement tab drag and drop

This commit is contained in:
Guldoman
2021-09-17 22:25:05 +02:00
committed by Francesco
parent 6a3f59c423
commit 3eba7cd7f1
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