-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Major refactor and optimizations (#3)
* Refactored code for better readability. Added fps calculation based on detected refresh rate for determining the graph draw speed. * Cleaned up the color selection logic. Removed unnecessary variables. * Don't mix variable names, especially when you're up late putzing around.... * Added comments. * Moved to C# 9 to be able to pass pointers to functions. * First pass at optimizing the color selection. * Cleaned up the color logic and removed combinations that aren't possible. * Removed the creation of an unnecessary Createcircle object. Flipped a loop to a do/while to prevent a pointless initial check. Fixed a color missing from the energy mode. * Removed from the Energy mode color that didn't conform to the README. * Bumped version. * Update AssemblyInfo to match version. * Add a delay to the destruction of the panel to pause the garbage collection event. Without the slight delay on levels with 1,000s of notes, there is a noticeable pause after a level completes and goes back to the main menu. * Fixed incorrect first param * Minor nit. Inlined the colorOverride and sideColor lines. * Fixed config conversion, credits adjustments * Updated for Beat Saber 1.20.0 * Updated version * Fixed side colors to be constant-ish, fixed issues when no data Making side colors constant fixes an issue when carrying over config files. When no data is available in either graph, the graph now just shows text saying "No data available." Co-authored-by: MCJack123 <[email protected]>
- Loading branch information
Showing
10 changed files
with
366 additions
and
302 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.