Skip to content

Commit 5b4ba2b

Browse files
committed
tweak default flipbook config
1 parent e77237b commit 5b4ba2b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

SimpleImageIO/FlipBook.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,14 +214,16 @@ public static string HeaderScript
214214
/// <summary>
215215
/// Syntactic sugar to create a new object of this class. Makes the fluent API more readable.
216216
/// </summary>
217-
public static FlipBook New => new FlipBook();
217+
public static FlipBook New => new();
218218

219219
/// <summary>
220220
/// Initializes a new flip book with the given width and height in HTML pixels
221221
/// </summary>
222-
public FlipBook(int width = 900, int height = 800) {
222+
public FlipBook(int width = 660, int height = 480) {
223223
htmlWidth = width;
224224
htmlHeight = height;
225+
hideTools = true;
226+
initialZoom = new InitialZoom(1.0f);
225227
}
226228

227229
/// <summary>

0 commit comments

Comments
 (0)