Remove font gamma configuration

This commit is contained in:
Soreepeong 2023-11-30 21:45:19 +09:00
parent 701d006db8
commit e86c5458a2
7 changed files with 15 additions and 94 deletions

View file

@ -199,16 +199,6 @@ internal class InterfaceManager : IDisposable, IServiceType
/// </summary>
public bool UseAxis => this.UseAxisOverride ?? Service<DalamudConfiguration>.Get().UseAxisFontsFromGame;
/// <summary>
/// Gets or sets the overrided font gamma value, instead of using the value from configuration.
/// </summary>
public float? FontGammaOverride { get; set; } = null;
/// <summary>
/// Gets the font gamma value to use.
/// </summary>
public float FontGamma => Math.Max(0.1f, this.FontGammaOverride.GetValueOrDefault(Service<DalamudConfiguration>.Get().FontGammaLevel));
/// <summary>
/// Gets a value indicating the native handle of the game main window.
/// </summary>