-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
improve status bar with stat generation progress #183
Conversation
enigma-swing/src/main/java/org/quiltmc/enigma/gui/node/ClassSelectorClassNode.java
Outdated
Show resolved
Hide resolved
…uded based on what's currently editable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
@@ -167,8 +168,15 @@ public CompletableFuture<Void> openMappings(MappingFormat format, Path path) { | |||
this.refreshClasses(); | |||
this.chp.invalidateJavadoc(); | |||
this.statsGenerator = new StatsGenerator(this.project); | |||
new Thread(() -> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is already inside another secondary thread, and I feel like we have a better way to spawn threads instead of new Thread()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it executor time?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea what the best way of doing this would be, this is kinda a bodge that just got left in because I don't know what's better
thanks gorge |
--no-edit-x
) #184