Commit d3bf4fd
committed
Fix MinimapView hitTest intercepting clicks when hidden
When showMinimap is false, MinimapView.isHidden is set to true but
the hitTest override did not check isHidden. Combined with empty
mouseDown/mouseDragged overrides, this caused the hidden minimap to
silently swallow all click events in its frame area (~140px on the
right side of the editor), preventing cursor placement.
Add an isHidden guard at the top of hitTest so hidden minimap views
return nil and let clicks pass through to the underlying text view.
Closes #3701 parent 1fa4d3c commit d3bf4fd
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| 270 | + | |
270 | 271 | | |
271 | 272 | | |
272 | 273 | | |
| |||
0 commit comments