Got rid of the "Invalid" state parameter
It was a bit too niche to be a state parameter
This commit is contained in:
6
theme.go
6
theme.go
@@ -371,12 +371,6 @@ type State struct {
|
||||
// pattern is locked and cannot be interacted with. Disabled variations
|
||||
// of patterns are typically flattened and greyed-out.
|
||||
Disabled bool
|
||||
|
||||
// Invalid should be set to true if th element that is using this
|
||||
// pattern wants to warn the user of an invalid interaction or data
|
||||
// entry. Invalid variations typically have some sort of reddish tint
|
||||
// or outline.
|
||||
Invalid bool
|
||||
}
|
||||
|
||||
// FontStyle specifies stylistic alterations to a font face.
|
||||
|
||||
Reference in New Issue
Block a user