Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macOS] Hide NSPopover Arrow for Torrent options. #3294

Merged
merged 1 commit into from Jun 15, 2022

Conversation

nevack
Copy link
Member

@nevack nevack commented Jun 13, 2022

Fixes #3293

P.S.
I think I should make solution more general and extract the logic to a separate class.

I want to illustrate:
NSPopoverSafeZone
If target view is not in the safe zone - NSPopover should be detached.
More specifically - target view rect should be inside safe zone rect for arrow to be displayed.

There's already some APIs available for it

@ckerr ckerr added scope:mac type:fix A bug fix needs UI review This PRs has UI changes that need review labels Jun 14, 2022
@ckerr ckerr force-pushed the nevack/fix-torrent-options-popover branch from 4180a1b to 6221f33 Compare June 15, 2022 15:56
@ckerr ckerr removed the needs UI review This PRs has UI changes that need review label Jun 15, 2022
@ckerr ckerr merged commit 57ed120 into transmission:main Jun 15, 2022
@nevack nevack deleted the nevack/fix-torrent-options-popover branch June 15, 2022 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

macOS - Improve: A drop-down list box №2
2 participants