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

fix _slice9 == [] #256

Merged
merged 3 commits into from Oct 16, 2023
Merged

fix _slice9 == [] #256

merged 3 commits into from Oct 16, 2023

Conversation

Nintbros
Copy link
Contributor

@Nintbros Nintbros commented Oct 4, 2023

[] == [] is false, because arrays
i simply changed _slice9 == [] to _slice9.length != 4 (in FlxUI9SliceSprite, line 161) which would achieve the intended purpose, i think

[] == [] is false, because arrays
i simply changed `_slice9 == []` to `_slice9.length != 4` which would achieve the intended purpose, i think
how can you do this with only 1 conditional again
flixel/addons/ui/FlxUI9SliceSprite.hx Outdated Show resolved Hide resolved
Co-authored-by: George Kurelic <Gkurelic@gmail.com>
@Geokureli Geokureli merged commit dfff192 into HaxeFlixel:dev Oct 16, 2023
15 checks passed
@Geokureli
Copy link
Member

thanks!

Geokureli added a commit that referenced this pull request Dec 22, 2023
@Geokureli Geokureli added this to the 2.6.0 milestone Mar 10, 2024
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.

None yet

2 participants