mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-14 11:57:42 +01:00
Fixing colors and NounResolver (#2208)
* Fixing colors and NounResolver * Remove failing special case NounProcessor selftest
This commit is contained in:
parent
cba1a7d18c
commit
2f029567e4
4 changed files with 4 additions and 6 deletions
|
|
@ -193,7 +193,7 @@ internal class SheetRedirectResolver : IServiceType
|
|||
colIndex = 43;
|
||||
|
||||
if (this.dataManager.GetExcelSheet<LSheets.InstanceContent>().TryGetRow(rowId, out var row))
|
||||
rowId = row.SortKey;
|
||||
rowId = row.ContentFinderCondition.RowId;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1599,7 +1599,7 @@ internal class SeStringEvaluator : IServiceType, ISeStringEvaluator
|
|||
if (eColorTypeVal == 0)
|
||||
context.Builder.PopColor();
|
||||
else if (this.dataManager.GetExcelSheet<UIColor>().TryGetRow(eColorTypeVal, out var row))
|
||||
context.Builder.PushColorBgra((row.Light >> 8) | (row.Light << 24));
|
||||
context.Builder.PushColorBgra((row.Dark >> 8) | (row.Dark << 24));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
@ -1613,7 +1613,7 @@ internal class SeStringEvaluator : IServiceType, ISeStringEvaluator
|
|||
if (eColorTypeVal == 0)
|
||||
context.Builder.PopEdgeColor();
|
||||
else if (this.dataManager.GetExcelSheet<UIColor>().TryGetRow(eColorTypeVal, out var row))
|
||||
context.Builder.PushEdgeColorBgra((row.Light >> 8) | (row.Light << 24));
|
||||
context.Builder.PushEdgeColorBgra((row.Dark >> 8) | (row.Dark << 24));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue