Skip to content

Commit 5834c9c

Browse files
committed
Add larger options for ItemSize
1 parent a4664de commit 5834c9c

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Applications/Editor/Main/Sources/Models/ImagePreference.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ public ImagePreference(Dispatcher dispatcher) : base(dispatcher) { }
6363
/// </summary>
6464
///
6565
/* ----------------------------------------------------------------- */
66-
public IReadOnlyList<int> ItemSizeOptions { get; } = new[]
67-
{
68-
100, 150, 200, 250, 300, 400, 500, 600, 900,
69-
};
66+
public IReadOnlyList<int> ItemSizeOptions { get; } =
67+
[
68+
100, 150, 200, 250, 300, 400, 500, 600, 900, 1200, 1500, 1800,
69+
];
7070

7171
/* ----------------------------------------------------------------- */
7272
///

Tests/Editor/Sources/Presenters/ViewTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public void Zoom()
125125
using var z0 = vm.Boot(new() { Source = GetSource("Sample.pdf") });
126126

127127
var ip = vm.Value.Images.Preferences;
128-
Assert.That(ip.ItemSizeOptions.Count, Is.EqualTo(9));
128+
Assert.That(ip.ItemSizeOptions.Count, Is.EqualTo(12));
129129
Assert.That(ip.ItemSizeIndex, Is.EqualTo(3));
130130
Assert.That(ip.ItemSize, Is.EqualTo(250));
131131

0 commit comments

Comments
 (0)