mirror of
https://github.com/nickustinov/itsypad-macos.git
synced 2026-04-26 04:15:50 +03:00
[PR #63] [CLOSED] Fix close button click regression from middle-click feature #66
Labels
No labels
bug
documentation
enhancement
help wanted
localization
pending release
pull-request
question
wip
wishlist
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/itsypad-macos#66
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/nickustinov/itsypad-macos/pull/63
Author: @nickustinov
Created: 2/26/2026
Status: ❌ Closed
Base:
main← Head:fix/close-button-click📝 Commits (1)
9ba8155Fix close button click regression from middle-click feature📊 Changes
1 file changed (+5 additions, -0 deletions)
View changed files
📝
Packages/Bonsplit/Sources/Bonsplit/Internal/Views/TabItemView.swift(+5 -0)📄 Description
Fixes #62
Problem
The middle-click overlay added in v1.9.6 was blocking all mouse events, preventing the close button (X) from receiving clicks.
Solution
Added
hitTestoverride to theMiddleClickNSViewto returnnil, which allows clicks to pass through to underlying views (like the close button) while still capturing middle-click events viaotherMouseUp.Testing
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.