Skip to content

Fix rendering without hosting view on macOS#492

Open
vladborovtsov wants to merge 1 commit intocore-plot:release-2.4from
vladborovtsov:release-2.4-fix-macos-rendering
Open

Fix rendering without hosting view on macOS#492
vladborovtsov wants to merge 1 commit intocore-plot:release-2.4from
vladborovtsov:release-2.4-fix-macos-rendering

Conversation

@vladborovtsov
Copy link

Problem: On macOS the Core Plot layers were blank when attached directly as sublayers (no hosting view). The mac-only drawing path bailed because effectiveAppearance was nil, so [super display] never ran.

Fix: In CPTLayer.display, still respect effectiveAppearance when it exists, but fall back to the normal display path if there’s no hosting view/appearance.

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.

1 participant

Comments