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

Address several drawing issues with Xcode 15 #1708

Merged
merged 2 commits into from
Oct 10, 2023

Conversation

Eitot
Copy link
Contributor

@Eitot Eitot commented Sep 27, 2023

This addresses the drawing issues I found so far and mentioned in #1707. There could be more.

In the browser UI, the RSS, cancel and reload buttons are hidden by setting layout constraints to zero (updateAddressBarButtons() in BrowserTab+Interface.swift). This causes the button icons to still be visible. This is addressed by enabling the clipsToBounds property in Interface Builder, which should be fully backwards compatible.

For the EnclosureView, the drawing is restricted to the view's bounds instead of dirtyRect.

Views no clip to their bounds anymore, which allows views to draw outside of their bounds.

In the browser UI, the RSS, cancel and reload buttons are hidden by setting layout constraints to zero (`updateAddressBarButtons()` in BrowserTab+Interface.swift). This causes the button icons to still be visible. This is addressed by enabling the `clipsToBounds` property in Interface Builder, which should be fully backwards compatible.

For the EnclosureView, the drawing is restricted to the view's `bounds` instead of `dirtyRect`.
@barijaona barijaona merged commit 61a1fe1 into ViennaRSS:master Oct 10, 2023
1 check passed
@Eitot Eitot deleted the feature/drawing-issues branch October 10, 2023 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants