-
Notifications
You must be signed in to change notification settings - Fork 70
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
feat: option to disable ears on all skins #275
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
conflicts with #261 have to finish that first. added one comment |
oh as i thought now have conflicts:( |
# Conflicts: # renderer/viewer/lib/entities.ts # src/optionsGuiScheme.tsx # src/watchOptions.ts
Resolved them :) |
User description
This adds an option to toggle whether or not the Deadmau5 ears are rendered for skins. Someone might want to toggle them off if skins include a full background there or information for some other mod. If toggled off the Vanilla logic of checking for Deadmau5's username is used and only their skin renders ears.
PR Type
Enhancement
Description
Added a configurable option to toggle Deadmau5 ears rendering.
Updated logic to conditionally render ears based on configuration.
Integrated the new
renderEars
option into the GUI and options storage.Adjusted default settings and watchers to support the new feature.
Changes walkthrough 📝
entities.ts
Conditional rendering of Deadmau5 ears based on configuration
renderer/viewer/lib/entities.ts
configuration.
optionsGuiScheme.tsx
Integrated `renderEars` option into GUI scheme
src/optionsGuiScheme.tsx
renderEars
option to GUI scheme.renderEars
option.optionsStorage.ts
Added `renderEars` to options storage
src/optionsStorage.ts
renderEars
to default options storage.renderEars
is included in the options structure.watchOptions.ts
Updated watcher to handle `renderEars` configuration
src/watchOptions.ts
renderEars
configuration dynamically.renderEars
is synchronized with viewer configuration.worldrendererCommon.ts
Added `renderEars` to default configuration
renderer/viewer/lib/worldrendererCommon.ts
renderEars
as a default configuration option.renderEars
totrue
.