mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Round UDim offset values
This commit is contained in:
parent
3d324cc30b
commit
99dad2b66b
1 changed files with 2 additions and 2 deletions
|
|
@ -115,11 +115,11 @@ local vec6_to_type = {
|
|||
end :: Vec6ToType<Color3>,
|
||||
|
||||
UDim = function(v)
|
||||
return UDim.new(v.X, v.Y)
|
||||
return UDim.new(v.X, math.round(v.Y))
|
||||
end :: Vec6ToType<UDim>,
|
||||
|
||||
UDim2 = function(a, b)
|
||||
return UDim2.new(a.X, a.Y, a.Z, b.X)
|
||||
return UDim2.new(a.X, math.round(a.Y), a.Z, math.round(b.X))
|
||||
end :: Vec6ToType<UDim2>,
|
||||
|
||||
Vector2 = function(v)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue