mirror of
https://github.com/yattee/yattee.git
synced 2026-10-23 13:12:53 +00:00
Restore extended drag hit area over the portrait panel title
The grabber hit area was cut to 14pt because it blocked the page tabs; portrait no longer shows the page bar, so bring back the 50pt area covering the title strip.
This commit is contained in:
@@ -173,13 +173,13 @@ struct PortraitDetailsPanel: View {
|
||||
bottomFadeOverlay
|
||||
}
|
||||
|
||||
// Drag handle overlay - hit area limited to the strip above the
|
||||
// page bar so taps on the page tabs reach the buttons underneath
|
||||
// Extended drag hit area overlay - visual handle at top, hit area
|
||||
// extends down over the title (the portrait panel has no page bar)
|
||||
VStack(spacing: 0) {
|
||||
dragHandle
|
||||
Spacer(minLength: 0)
|
||||
Spacer()
|
||||
}
|
||||
.frame(height: 14)
|
||||
.frame(height: 50)
|
||||
.frame(maxWidth: .infinity)
|
||||
.background(alignment: .top) {
|
||||
LinearGradient(
|
||||
|
||||
Reference in New Issue
Block a user