Skip to content

Conversation

@FlorianLeChat
Copy link
Contributor

@FlorianLeChat FlorianLeChat commented May 9, 2021

It's all in the title. Adding the fact the code has been cleaned up to avoid formatting problems for linters.

This change is currently being tested but does not present a bug at the moment. So for the moment I'm keeping it in draft.

- Spaces before/after operators
- Remove useless argument in "cfgSet" notification
- Reduction of pyramid scopes
- Replace C operators to Lua ones

(My linter is still not happy, but the number of issues has already been reduced a lot compared to the original copy. The code should probably be redesigned in the future)
Before this change, only the parameters without an explicit form had their current value and not the one defined by default. Now this annoying problem is fixed.
@FlorianLeChat FlorianLeChat marked this pull request as draft May 9, 2021 17:44
@FlorianLeChat FlorianLeChat marked this pull request as ready for review May 11, 2021 19:21
@TovarischPootis
Copy link
Contributor

Can you show some before/after screenshots to show what was fixed in the UI?

@FlorianLeChat
Copy link
Contributor Author

I made a video to show before and after the fix: https://youtu.be/oMqjs9U_-y4. If you need more details, let me know.

@TovarischPootis
Copy link
Contributor

Tres bien

@TovarischPootis TovarischPootis merged commit 3e53fa7 into NutScript:1.2.2-wip May 17, 2021
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.

2 participants