mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-31 12:53:41 +01:00
Remove font gamma configuration
This commit is contained in:
parent
701d006db8
commit
e86c5458a2
7 changed files with 15 additions and 94 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue