PartitionKit icon indicating copy to clipboard operation
PartitionKit copied to clipboard

Fix position of other lines and collision avoidance

Open cannyboy opened this issue 3 years ago • 0 comments

( I found this library while researching this: https://stackoverflow.com/questions/67403140/drag-separators-in-swiftui )

Is there a way to keep the other lines from moving, so that only the line being moved with handle (or the two lines being moved with crosshair) moves?

Also, is there a way to stop handle lines overlapping other areas, so each section has a minimum size (10 pixels square, for example)? So that the Console doesn't spit out this: PartitionKitExample[34446:1101291] [SwiftUI] Invalid frame dimension (negative or non-finite).

cannyboy avatar May 07 '21 11:05 cannyboy