Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix position of other lines and collision avoidance #6

Open
cannyboy opened this issue May 7, 2021 · 0 comments
Open

Fix position of other lines and collision avoidance #6

cannyboy opened this issue May 7, 2021 · 0 comments

Comments

@cannyboy
Copy link

cannyboy commented May 7, 2021

( 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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant