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
{{ message }}
Repository navigation
MinimapView hitTest ignores isHidden, intercepts clicks when minimap is hidden #370
When showMinimap is set to false in SourceEditorConfiguration, the MinimapView is hidden via isHidden = true. However, clicks on the right ~140px of the editor are still intercepted by the hidden minimap, preventing cursor placement in that area.
Root Cause
MinimapView.hitTest(_:) overrides NSView.hitTest but does not check isHidden:
overridepublicfunc hitTest(_ point:NSPoint)->NSView?{guardlet point = superview?.convert(point, to:self)else{returnnil}
// ...
}
Activity
Fix MinimapView hitTest intercepting clicks when hidden