mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 12:23:39 +01:00
Add kerned text draw helper
This commit is contained in:
parent
17c77e6bfd
commit
3026eb6fa8
3 changed files with 468 additions and 2 deletions
|
|
@ -183,7 +183,7 @@ namespace Dalamud.Interface.GameFonts
|
|||
{
|
||||
var prevValue = this.fontUseCounter.GetValueOrDefault(style, 0);
|
||||
var newValue = this.fontUseCounter[style] = prevValue + 1;
|
||||
needRebuild = (prevValue == 0) != (newValue == 0);
|
||||
needRebuild = (prevValue == 0) != (newValue == 0) && !this.fonts.ContainsKey(style);
|
||||
}
|
||||
|
||||
if (needRebuild)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue