mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-24 13:57:02 +00:00
Merge pull request #1205 from MiguelMachado-dev/fix/capacity-dock-hover-drift
fix(mac): stop Capacity Dock hover drift
This commit is contained in:
commit
4907094af9
1 changed files with 4 additions and 0 deletions
|
|
@ -213,6 +213,8 @@ final class CapacityDockController {
|
|||
)
|
||||
let panel = CapacityDockPanel()
|
||||
let hosting = CapacityDockHostingView(rootView: view.environment(store))
|
||||
// Panel geometry has one owner; intrinsic resizing races the frame animator.
|
||||
hosting.sizingOptions = []
|
||||
hosting.autoresizingMask = [.width, .height]
|
||||
// At the top edge the menu-bar/notch safe-area inset would push the rail
|
||||
// down, leaving a gap the bottom edge never shows. Opt the rail out of
|
||||
|
|
@ -252,6 +254,8 @@ final class CapacityDockController {
|
|||
)
|
||||
let panel = CapacityDockPanel()
|
||||
let hosting = CapacityDockHostingView(rootView: view.environment(store))
|
||||
// Panel geometry has one owner; intrinsic resizing races the frame animator.
|
||||
hosting.sizingOptions = []
|
||||
hosting.autoresizingMask = [.width, .height]
|
||||
hosting.interactiveShapeContains = { [weak model] point, bounds in
|
||||
guard let model else { return false }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue