Fix regression inserted by 7291 on ColorPicker
Fix regression inserted by 7291 on ColorPicker: a task in Trending-SWE1.0 (Harbor dataset). Title: Fix regression inserted by 7291 on ColorPicker
The task
**Title:** Fix regression inserted by #7291 on ColorPicker
Part of scalingX/Trending-SWE1.0.