Implement tab drag and drop

This commit is contained in:
Guldoman authored and Francesco Abbate committed 2021-10-02 18:36:59 +02:00
1 parent 86632b68de
commit dced6da03d
3 files changed
+256 -23

No files matched your search

+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