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

StencilEffect doesn't work on 1.18 #45

Open
caoimhebyrne opened this issue Feb 27, 2022 · 1 comment
Open

StencilEffect doesn't work on 1.18 #45

caoimhebyrne opened this issue Feb 27, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@caoimhebyrne
Copy link
Contributor

caoimhebyrne commented Feb 27, 2022

Describe the bug
Elementa's StencilEffect doesn't work in 1.18 as the enableStencil function doesn't have any implementation for versions less than 1.15.

To Reproduce
Steps to reproduce the behavior:

  1. Call StencilEffect.enableStencil() in your mod's initializer
  2. Add the StencilEffect to your component

Expected behavior
The component should be scissored around the parent component

Additional context
To enable stencils in 1.18, I found this gist, but I wasn't able to get it working properly.

@caoimhebyrne caoimhebyrne added the bug Something isn't working label Feb 27, 2022
@mew
Copy link
Contributor

mew commented Feb 27, 2022

hi connor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants