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

input-field: fix colorConfig caps, num and both when they are empty #559

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

PaideiaDilemma
Copy link
Contributor

The m_vColors.empty() check did not work like i thought it would.

To differentiate between legitimate CColor(0) with angle 0, I added this m_bIsFallback boolean. Other option would have been to allow m_vColors to be empty, but I think that is not a good idea.

@vaxerski vaxerski merged commit b9cf515 into hyprwm:main Nov 15, 2024
1 check passed
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.

2 participants