Skip to content

Micro-optimization of the resolution system#325

Merged
StyledStrike merged 2 commits into
StyledStrike:mainfrom
Vitroze:micro_optimization_resolution
Jul 6, 2026
Merged

Micro-optimization of the resolution system#325
StyledStrike merged 2 commits into
StyledStrike:mainfrom
Vitroze:micro_optimization_resolution

Conversation

@Vitroze

@Vitroze Vitroze commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Moved the resolution-handling code to the top of the file.
Removed the timer
Implemented the UpdateResolution function locally within the file, while keeping the associated values ​​private.

@StyledStrike
StyledStrike merged commit 73c7c0d into StyledStrike:main Jul 6, 2026
1 check passed
@StyledStrike

Copy link
Copy Markdown
Owner

Oh whoops there's a bug, I forgot about the other reason that timer existed, besides the resolution change hook not existing at the time that UI library was made.

@StyledStrike

Copy link
Copy Markdown
Owner

I'll fix that in a second, I'm currently cloning all repositories that use that library since all of them need to receive the update as well

@Vitroze
Vitroze deleted the micro_optimization_resolution branch July 6, 2026 10:30
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