File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
src/Files.App/Helpers/Layout Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -220,10 +220,10 @@ public LayoutPreferencesManager(FolderLayoutModes modeOverride) : this()
220
220
/// Always uses the Large icon size (32).
221
221
///
222
222
/// Tiles View:
223
- /// Always uses 256.
223
+ /// Always uses 96, 128, or 256 depending on the layout size .
224
224
///
225
225
/// Grid View:
226
- /// Always uses 256.
226
+ /// Always uses 96, 128, or 256 depending on the layout size .
227
227
/// </summary>
228
228
public uint GetRoundedIconSize ( )
229
229
{
@@ -235,6 +235,12 @@ public uint GetRoundedIconSize()
235
235
=> Constants . ShellIconSizes . Large ,
236
236
FolderLayoutModes . ColumnView
237
237
=> Constants . ShellIconSizes . Large ,
238
+ _ when LayoutMode == FolderLayoutModes . TilesView && UserSettingsService . LayoutSettingsService . ItemSizeTilesView <= 96 ||
239
+ LayoutMode == FolderLayoutModes . GridView && UserSettingsService . LayoutSettingsService . ItemSizeGridView <= 96
240
+ => 96 ,
241
+ _ when LayoutMode == FolderLayoutModes . TilesView && UserSettingsService . LayoutSettingsService . ItemSizeTilesView <= 128 ||
242
+ LayoutMode == FolderLayoutModes . GridView && UserSettingsService . LayoutSettingsService . ItemSizeGridView <= 128
243
+ => 128 ,
238
244
_ => 256 ,
239
245
} ;
240
246
}
You can’t perform that action at this time.
0 commit comments