picoe / Eto

Cross platform GUI framework for desktop and mobile applications in .NET
Other
3.68k stars 334 forks source link

Mac: Don't use colourizer for NSTextField #2673

Closed cwensley closed 4 months ago

cwensley commented 4 months ago

There's no need to use the colourizer for NSTextField as it intrinsically supports background colors, so disable its usage. We do still need the DrawInteriorWithFrame so that macOS draws the background only within the frame instead of behind it.

The colourizer has been known to crash in this case on macOS Sonoma and later.

cwensley commented 4 months ago

Actually, closing this as the colourizer is only used when alpha is on, which is still needed as otherwise a transparent background would still show the white background.