feat: add global UI scale to settings

This commit is contained in:
goat 2020-08-03 20:46:17 +02:00
parent 7ac4881595
commit 87c3c32dc6
3 changed files with 21 additions and 1 deletions

View file

@ -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();