git.iko.soy/parseable-macos
on master help sign in
Fix jittery column resizing by using global coordinate space for drag gesture (#42)
21ad7ffiko
ParseableViewer/Views/LogTableView.swift+1−1
@@ -295,7 +295,7 @@ struct ColumnResizeHandle: View {
295 }
295 }
296 }
296 }
297 .gesture(
297 .gesture(
298− DragGesture(minimumDistance: 1)
298+ DragGesture(minimumDistance: 1, coordinateSpace: .global)
299 .onChanged { gesture in
299 .onChanged { gesture in
300 if initialWidth == nil {
300 if initialWidth == nil {
301 initialWidth = columnWidth
301 initialWidth = columnWidth