Skip to content

Commit

Permalink
Decreased max saved recently opened deafult to 8
Browse files Browse the repository at this point in the history
  • Loading branch information
CPKreu committed Mar 21, 2021
1 parent 53b695b commit 06d12c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PixiEditor/Models/DataHolders/Document/Document.IO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private void UpdateRecentlyOpened(string newPath)
recentlyOpened.Move(index, 0);
}

if (recentlyOpened.Count > IPreferences.Current.GetPreference("maxOpenedRecently", 10))
if (recentlyOpened.Count > IPreferences.Current.GetPreference("maxOpenedRecently", 8))
{
for (int i = 4; i < recentlyOpened.Count; i++)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public long DefaultNewFileHeight
}
}

private int maxOpenedRecently = GetPreference(nameof(MaxOpenedRecently), 10);
private int maxOpenedRecently = GetPreference(nameof(MaxOpenedRecently), 8);

public int MaxOpenedRecently
{
Expand Down

0 comments on commit 06d12c3

Please sign in to comment.