ViennaRSS / vienna-rss

Vienna is a free and open-source RSS/Atom newsreader for macOS.
https://www.vienna-rss.com
Apache License 2.0
1.84k stars 227 forks source link

Address several drawing issues with Xcode 15 #1708

Closed Eitot closed 12 months ago

Eitot commented 1 year ago

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.