Commit a6d4043
committed
fix: remove manual mode check and adjust auto mode logic
1. Removed manual mode check in setColorTempValue to allow temperature
adjustment regardless of mode
2. Modified auto mode behavior in getColorTemperatureValue to use manual
value when not default
3. This change provides more flexible temperature control and better
handles edge cases in auto mode
fix: 移除手动模式检查并调整自动模式逻辑
1. 移除setColorTempValue中的手动模式检查,允许在任何模式下调整色温
2. 修改getColorTemperatureValue中的自动模式行为,在非默认值时使用手动值
3. 此变更提供了更灵活的色温控制,并更好地处理自动模式下的边缘情况
pms: BUG-308201
pms: BUG-3082091 parent 4de23d8 commit a6d4043
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | 341 | | |
345 | 342 | | |
346 | 343 | | |
| |||
393 | 390 | | |
394 | 391 | | |
395 | 392 | | |
396 | | - | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
397 | 399 | | |
398 | 400 | | |
399 | 401 | | |
| |||
0 commit comments