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

feat: togglable click gui animations #4504

Draft
wants to merge 1 commit into
base: nextgen
Choose a base branch
from

Conversation

SenkJu
Copy link
Contributor

@SenkJu SenkJu commented Nov 15, 2024

This pull request adds the ability to disable click GUI animations entirely.

@SenkJu SenkJu marked this pull request as draft November 15, 2024 18:01
Comment on lines +58 to +60
name={$spaceSeperatedNames ? convertToSpacedString(cSetting.name) : cSetting.name}
bind:value={enabledSetting.value}
on:change={handleChange}
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
name={$spaceSeperatedNames ? convertToSpacedString(cSetting.name) : cSetting.name}
bind:value={enabledSetting.value}
on:change={handleChange}
name={$spaceSeperatedNames ? convertToSpacedString(cSetting.name) : cSetting.name}
bind:value={enabledSetting.value}
on:change={handleChange}

Not sure why that extra space is needed...

Copy link
Contributor

Choose a reason for hiding this comment

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

code styling

Copy link
Contributor

@DataM0del DataM0del Nov 17, 2024

Choose a reason for hiding this comment

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

No? It was already indented enough. Usually you do

<x
    prop1="value"
    prop2="value"
    prop3="value"
    prop4="value"/>

instead of adding an extra 4 spaces.

@DataM0del
Copy link
Contributor

While you're also at it, might as well just use the system's reduced motion setting for that too.

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