update deps

This commit is contained in:
Ashley Wulber 2024-07-16 18:22:01 -04:00 committed by Ashley Wulber
parent 68af00a29e
commit eaeee04f1e
5 changed files with 132 additions and 142 deletions

View file

@ -2084,13 +2084,7 @@ impl CosmicAppList {
} else {
favorite_index = (btn_count as usize).min(favorite_active_cnt).max(2);
}
// tracing::error!(
// "{}, {}, {}, {}",
// btn_count,
// button_total_size,
// favorite_active_cnt,
// favorite_index
// );
// calculation of active_index based on favorite_index if there is still not enough space
let active_index_max = (btn_count as i32)
- (self.pinned_list.len() as i32).saturating_sub(favorite_index as i32);