Skip to content

[BUG] [app] Disabled state of flat preset toggle does not auto update when toggling generator dropdown #20

Description

@8Crafter

Describe the bug
In the general tab of the edit config screen, the disabled state of the Allow For Changing Flat World Preset toggle does not automatically update whenever the Add Generator Type Dropdown toggle is toggled.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the edit page for a config
  2. Click on the general tab
  3. Click on the Add Generator Type Dropdown option
  4. See that the Allow For Changing Flat World Preset toggle does not get grayed out (or un-grayed out if the Add Generator Type Dropdown was already disabled when you opened the edit config screen.

Expected behavior
The Allow For Changing Flat World Preset toggle should be automatically grayed out when the Add Generator Type Dropdown toggle is disabled, and un-grayed out when the toggle is enabled.

Desktop (please complete the following information):

  • OS: Windows 11
  • App Version: 1.0.0-beta.32

Additional context
The disabled state is updated when switching to the raw config tab and back, but not when switching to any other tab and back.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appRelated to this applicationbugSomething isn't working

    Type

    Fields

    Priority

    Medium

    Effort

    Medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions