fix: 缩放的屏幕,灯条颜色预览效果错误

This commit is contained in:
2023-03-26 15:54:57 +08:00
parent 1a3102257e
commit 3e54d30498
4 changed files with 24 additions and 31 deletions

View File

@ -42,7 +42,7 @@ impl Screenshot {
}
pub fn get_sample_point(
config: LedStripConfig,
config: &LedStripConfig,
width: usize,
height: usize,
) -> Vec<LedSamplePoints> {