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

Optimize quest database search #108

Closed

Conversation

KatatsumuriPan
Copy link

  • Add loading icon. (using the same texture as refresh)
  • Buffering "addPanel()" on quest database to optimize search. (addPanel is too slow...)

public IGuiRect getScrollBounds() {
return this.scrollBounds;
}
public IGuiRect getScrollBounds() { return this.scrollBounds; }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the standard formatting appears to include a new line between {, }, and the statement, as it was before this change. since IDEA will automatically do this shortening, theres no real benefit to doing it manually. i think this part should be reverted

@@ -99,7 +100,8 @@ public enum PresetIcon {
ICON_MENU("icon_menu"),

ICON_PATREON("icon_patreon"),
ICON_TWITCH("icon_twitch");
ICON_TWITCH("icon_twitch"),
ICON_LOADING("icon_refresh");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this has to have a different name, as icon_refresh already exists and is used as the Reset Quest icon on the designer. this change causes it to be constantly rotating.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

theres a lot of whitespace changes here, which on my instance of IDEA gets nuked instantly. either we need to get the formatting unified and just hasnt been prior (wouldnt be too surprising), or you might need to poke your formatter so it doesnt generate a bunch of superfluous changes.

@Rongmario
Copy link
Member

Closing in favour of #114. Thank you for all the work!

@Rongmario Rongmario closed this May 23, 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.

3 participants