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

Replace rgba CSS with opaque color #48

Merged
merged 1 commit into from
Dec 21, 2022

Conversation

jacobmischka
Copy link

It was apparently breaking macOS windows somehow?

Fixes #46

@Lyude
Copy link
Owner

Lyude commented Dec 21, 2022

This workaround would be a bit too broad unfortunately - this change came from #38 , basically we make the background transparent so that the viewport can control the opacity (this is used for the Transparency gui option, which lets us do neat transparent windows like gnome terminal).
I think what you could do instead though would be to make it so on OSX that we don't apply the .nvim-background class to the ApplicationWindow and instead add a different class to use in style.css for the time being.

@jacobmischka
Copy link
Author

jacobmischka commented Dec 21, 2022

Alright, fair enough. I changed the PR to conditionally remove that class name on macos.

@Lyude Lyude merged commit 3e90c83 into Lyude:main Dec 21, 2022
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.

Resizing to a smaller window works in macOS, but not to a window larger than the default size
2 participants