Skip to content

Commit

Permalink
Set a default size for the preferences window and make it undockable
Browse files Browse the repository at this point in the history
  • Loading branch information
KillzXGaming committed Nov 6, 2023
1 parent 103816c commit 07511d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Fushigi/ui/widgets/Preferences.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ class Preferences
static readonly Vector4 errCol = new Vector4(1f, 0, 0, 1);
static bool romfsTouched = false;
static bool modRomfsTouched = false;

public static void Draw(ref bool continueDisplay)
{
if (ImGui.Begin("Preferences"))
ImGui.SetNextWindowSize(new Vector2(700, 250), ImGuiCond.Once);
if (ImGui.Begin("Preferences", ImGuiWindowFlags.NoDocking))
{
var romfs = UserSettings.GetRomFSPath();
var mod = UserSettings.GetModRomFSPath();
Expand Down

0 comments on commit 07511d9

Please sign in to comment.