Skip to content

Commit

Permalink
Maximize space efficiency for custom formula
Browse files Browse the repository at this point in the history
  • Loading branch information
Emik03 committed Dec 16, 2024
1 parent 073038d commit 35ac707
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions plugin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,6 @@ function draw()
end

if types[type + 1] == "custom" then
imgui.SameLine(0, padding)
_, custom = imgui.InputTextMultiline("", custom, 1000, {110, 70})

Tooltip(
"Specify a custom easing function here.\n" ..
"$t = time: [0, 1]\n" ..
Expand All @@ -178,6 +175,8 @@ function draw()
"$d = duration: always 1\n" ..
"$v = velocity: current SV multiplier"
)

_, custom = imgui.InputTextMultiline("", custom, 1000, {240, 70})
end

imgui.Separator()
Expand Down

0 comments on commit 35ac707

Please sign in to comment.