处理动画
This commit is contained in:
@@ -168,9 +168,9 @@ func ScanDevices() map[string]*RazerDevice {
|
||||
}
|
||||
|
||||
// 从缓存恢复状态
|
||||
if s, found := deviceStateCache[key]; found {
|
||||
grouped[key].CurrentEffect = s.Effect
|
||||
grouped[key].CurrentColor = s.Color
|
||||
if s, found := DeviceStateCache[key]; found {
|
||||
grouped[key].CurrentEffect = s.GetEffect()
|
||||
//grouped[key].CurrentColor = s.Color
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user