mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-26 10:29:18 +01:00
feat: add global UI scale to settings
This commit is contained in:
parent
7ac4881595
commit
87c3c32dc6
3 changed files with 21 additions and 1 deletions
|
|
@ -253,6 +253,8 @@ namespace Dalamud.Interface
|
|||
ImGui.GetStyle().Colors[(int) ImGuiCol.Tab] = new Vector4(0.23f, 0.23f, 0.23f, 0.86f);
|
||||
ImGui.GetStyle().Colors[(int) ImGuiCol.TabHovered] = new Vector4(0.71f, 0.71f, 0.71f, 0.80f);
|
||||
ImGui.GetStyle().Colors[(int) ImGuiCol.TabActive] = new Vector4(0.36f, 0.36f, 0.36f, 1.00f);
|
||||
|
||||
ImGui.GetIO().FontGlobalScale = this.dalamud.Configuration.GlobalUiScale;
|
||||
}
|
||||
|
||||
this.scene.Render();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue