This commit is contained in:
Nikita Kruglickiy
2021-09-19 22:34:23 +06:00
parent cb9c7b73bb
commit a47d2b43f7
17 changed files with 417 additions and 47 deletions

View File

@@ -9,7 +9,10 @@
-- @include /koptilnya/gui/elements/shape.txt
-- @include /koptilnya/gui/elements/button.txt
-- @include /koptilnya/gui/segoe_mdl2_assets_icons.txt
local points = {Vector(0, 0), Vector(100, 0)}
local points = {
Vector(0, 0),
Vector(100, 0)
}
local zoom = 1
local zoomBase = 100
local scroll = 0
@@ -458,7 +461,7 @@ hook.add("render", "_render", function()
x, y = fromWorkspacePos(segmentSize * i, 0)
local length = 20
local text = tostring(math.remap(i, 0, 10, 1000, 6000)) -- tostring(i * 10)
local text = tostring(math.remap(i, 0, 10, 1000, 7000)) -- tostring(i * 10)
render.drawRect(x, y - 20, 1, 20)
render.drawRect(x - segmentSize / 2, y - 10, 1, 10)