Skip to content

Commit c0630f8

Browse files
committed
Make corner roundness not just save, but load, too
1 parent 62a1c99 commit c0630f8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Source/Frontend/UI/Components/Settings/SettingsGeneralForm.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ public void LoadConfigIntoUI()
5454
nmSwapEmuTimeout.Value = timeoutSeconds;
5555
else
5656
nmSwapEmuTimeout.Value = 20;
57+
if (int.TryParse(Params.ReadParam("CORNER_ROUNDNESS"), out int cornerRoundness))
58+
nmCornerRoundness.Value = cornerRoundness;
59+
else
60+
nmCornerRoundness.Value = 5;
5761
}
5862

5963
private void OpenOnlineWiki(object sender, EventArgs e)

0 commit comments

Comments
 (0)