mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Add option to configure minimum window size.
This commit is contained in:
parent
d403f44256
commit
f9cc88cbb0
4 changed files with 79 additions and 6 deletions
|
|
@ -2,6 +2,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Numerics;
|
||||
using Dalamud.Configuration;
|
||||
using Newtonsoft.Json;
|
||||
using OtterGui;
|
||||
|
|
@ -49,7 +50,9 @@ public class Configuration : IPluginConfiguration, ISavable
|
|||
public bool HideRedrawBar { get; set; } = false;
|
||||
public int OptionGroupCollapsibleMin { get; set; } = 5;
|
||||
|
||||
public bool DebugSeparateWindow = false;
|
||||
public bool DebugSeparateWindow = false;
|
||||
public Vector2 MinimumSize = new(Constants.MinimumSizeX, Constants.MinimumSizeY);
|
||||
|
||||
#if DEBUG
|
||||
public bool DebugMode { get; set; } = true;
|
||||
#else
|
||||
|
|
@ -144,6 +147,8 @@ public class Configuration : IPluginConfiguration, ISavable
|
|||
public const int MaxScaledSize = 80;
|
||||
public const int DefaultScaledSize = 20;
|
||||
public const int MinScaledSize = 5;
|
||||
public const int MinimumSizeX = 900;
|
||||
public const int MinimumSizeY = 675;
|
||||
|
||||
public static readonly ISortMode<Mod>[] ValidSortModes =
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue