Skip to content

Commit

Permalink
Add Vector2
Browse files Browse the repository at this point in the history
  • Loading branch information
jackTabsCode committed Aug 9, 2024
1 parent 6a91ab7 commit 8c3788d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/debugger/formatTable.luau
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ local function formatTable(object, mode, _padLength, _depth)
local separated =
commaSeparate(false, table.unpack(colorizeMany(numberColor, value.X, value.Y, value.Z)))
part ..= wrap("Vector3", separated)
elseif robloxType == "Vector2" then
local separated = commaSeparate(false, table.unpack(colorizeMany(numberColor, value.X, value.Y)))
part ..= wrap("Vector2", separated)
else
part ..= wrap(robloxType, valueStr)
end
Expand Down

0 comments on commit 8c3788d

Please sign in to comment.