bug for configuration
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
16a6a41178
commit
6b97472103
@ -130,7 +130,9 @@ public class ControlColorConfiguration: KeyColorConfigurable {
|
|||||||
let state = object.state
|
let state = object.state
|
||||||
let surface = object.surface
|
let surface = object.surface
|
||||||
|
|
||||||
if let keyColor = keyColors.first(where: {$0.key.isSubset(of: state) }) {
|
if let keyColor = keyColors.first(where: {$0.key == state }) {
|
||||||
|
return keyColor.surfaceConfig.getColor(surface)
|
||||||
|
} else if let keyColor = keyColors.first(where: {$0.key.isSubset(of: state) }) {
|
||||||
return keyColor.surfaceConfig.getColor(surface)
|
return keyColor.surfaceConfig.getColor(surface)
|
||||||
} else {
|
} else {
|
||||||
return .clear
|
return .clear
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user