You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deliver mac drags past the view edge, add diagonal resize cursors, and harden window drags
- MacSystemWindow: deliver dragged/up events outside the content view while a
button pressed inside is held (OutOfViewMouseCapture); ignore MouseExited
events whose location is still inside the view (AppKit posts them when
cursor rects are rebuilt mid-drag) and never turn one into the leave sentinel
while a drag is in flight.
- MacSystemWindow: map SizeNWSE/SizeNESW to the private NSCursor diagonal
resize cursors behind a respondsToSelector probe (arrow fallback), SizeAll to
openHandCursor, and install an AggMacContentView with resetCursorRects so
the requested cursor persists; skip the cursor set/invalidate when unchanged.
- GrabControl/WindowWidget: track resize drags in screen space from a
mouse-down snapshot and place the window absolutely; end the drag on any move
that lacks the pressed button, so the (-10,-10) leave sentinel and a lost
mouse up can no longer collapse the window to its minimum size.
- TitleBarWidget: same pressed-button guard, so the sentinel cannot throw the
window off screen.
- ScrollableWidget: set the scroll-area margin through SetScrollAreaMargin
instead of a raw VerticalScrollBar.Width that was double-scaled on Retina.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments