mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-17 21:37:43 +01:00
Merge pull request #2562 from nebel/xldata-fontawesome-font-issue
Fix font corruption caused by Font Awesome icon button in Data window
This commit is contained in:
commit
e32e4a0c8e
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ internal class FontAwesomeTestWidget : IDataWindowWidget
|
||||||
Task.FromResult(
|
Task.FromResult(
|
||||||
Service<TextureManager>.Get().CreateTextureFromSeString(
|
Service<TextureManager>.Get().CreateTextureFromSeString(
|
||||||
ReadOnlySeString.FromText(this.icons[i].ToIconString()),
|
ReadOnlySeString.FromText(this.icons[i].ToIconString()),
|
||||||
new() { Font = ImGui.GetFont(), FontSize = ImGui.GetFontSize() })));
|
new() { Font = ImGui.GetFont(), FontSize = ImGui.GetFontSize(), ScreenOffset = Vector2.Zero })));
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui.PopFont();
|
ImGui.PopFont();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue