Skip to content

Commit c1ded8f

Browse files
committed
Lower LibreSplit output "size" variables.
When loading splits made by the converter, LibreSplit will not shrink it's window below the size given in the output split file. Reducing the default size is only the first step. Eventually a size should be able to be selected on libresplit.org when converting split files.
1 parent b5cd56a commit c1ded8f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/libresplit.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ impl LibreSplitFile {
3030
splits.push(split);
3131
}
3232

33-
// Get size. Default for now.
34-
let width = 600;
35-
let height = 800;
33+
// Get size.
34+
// The window of LibreSplit will not shrink beyond this size.
35+
let width = 60;
36+
let height = 80;
3637

3738
LibreSplitFile {
3839
title,

0 commit comments

Comments
 (0)