Skip to content

Allow Invalid Color Component Inputs#1012

Merged
CryZe merged 1 commit intoLiveSplit:masterfrom
CryZe:allow-invalid-inputs
Feb 15, 2025
Merged

Allow Invalid Color Component Inputs#1012
CryZe merged 1 commit intoLiveSplit:masterfrom
CryZe:allow-invalid-inputs

Conversation

@CryZe
Copy link
Collaborator

@CryZe CryZe commented Feb 15, 2025

Apparently React behaves differently from Dioxus in that it doesn't allow changing inputs if they don't affect the value that they are bound to. So I spent some time on implementing some proper validation logic for the color inputs.

@CryZe CryZe added enhancement A new feature or general improvement to LiveSplit One. UI The issue is about the user interface. labels Feb 15, 2025
Apparently React behaves differently from Dioxus in that it doesn't
allow changing inputs if they don't affect the value that they are bound
to. So I spent some time on implementing some proper validation logic
for the color inputs.
@CryZe CryZe force-pushed the allow-invalid-inputs branch from 47f9efc to e88735c Compare February 15, 2025 22:17
@CryZe CryZe enabled auto-merge (squash) February 15, 2025 22:17
@CryZe CryZe merged commit 2fbe28e into LiveSplit:master Feb 15, 2025
4 checks passed
@CryZe CryZe deleted the allow-invalid-inputs branch February 15, 2025 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement A new feature or general improvement to LiveSplit One. UI The issue is about the user interface.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant