update common/src/main/ets/default/viewmodel/LayoutViewModel.ts.

Signed-off-by: duao <duao@huawei.com>
This commit is contained in:
duao 2024-03-14 01:38:30 +00:00 committed by Gitee
parent ee4bc521aa
commit a550a26f0a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -413,15 +413,12 @@ export class LayoutViewModel {
let widthDimension4 = widthDimension3;
let heightDimension4 = (itemSize + gap) * 4 - gap - 2 * iconMarginVertical -
nameHeight - this.mDesktopIconNameMargin;
// 2x1
let widthDimension5 = iconSize;
let heightDimension5 = folderSize;
// 1x1
let widthDimension6 = iconSize;
let heightDimension6 = iconSize;
// 6x4
let widthDimension7 = widthDimension3;
let heightDimension7 = (itemSize + gap) * 6 - gap - 2 * iconMarginVertical -