Fix to make sure only top discrete items are truncated
This commit is contained in:
parent
9dcef813a8
commit
d0825581af
|
@ -189,6 +189,7 @@ module Discrete = {
|
|||
t
|
||||
|> XYShape.T.zip
|
||||
|> XYShape.T.Zipped.sortByY
|
||||
|> Belt.Array.reverse
|
||||
|> Belt.Array.slice(_, ~offset=0, ~len=i)
|
||||
|> XYShape.T.Zipped.sortByX
|
||||
|> XYShape.T.fromZippedArray;
|
||||
|
|
Loading…
Reference in New Issue
Block a user