deepnight / ldtk

Modern, lightweight and efficient 2D level editor
https://ldtk.io
MIT License
3.44k stars 192 forks source link

Fix toggling optional rule groups #1089

Open jasonpanosso opened 7 months ago

jasonpanosso commented 7 months ago

fix a regression introduced in deepnight/ldtk@225a891faae5b7d6b5b9a067460a8202e1e17d4b

I simply swapped conditional branches, and built/tested via npm run pack-linux-x86 and it seems to have fixed the regression

closes #1059

also, apologies if this should be merged into master, not completely sure on the repository setup/regular practices.

P.S. Thanks so much for the awesome tool!! :)