mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-26 06:31:48 +01:00
Check ThemeSupportBitmask
This commit is contained in:
parent
bf25d11cdb
commit
eed67511d2
1 changed files with 1 additions and 1 deletions
|
|
@ -295,7 +295,7 @@ internal class UldWidget : IDataWindowWidget
|
||||||
else if (e is not null)
|
else if (e is not null)
|
||||||
ImGui.Text(e.ToString());
|
ImGui.Text(e.ToString());
|
||||||
|
|
||||||
if (this.selectedTheme != 0)
|
if (this.selectedTheme != 0 && (textureEntry.ThemeSupportBitmask & (1 << (this.selectedTheme - 1))) != 0)
|
||||||
{
|
{
|
||||||
var texturePathThemed = this.ToThemedPath(texturePath);
|
var texturePathThemed = this.ToThemedPath(texturePath);
|
||||||
if (this.dataManager.FileExists(texturePathThemed))
|
if (this.dataManager.FileExists(texturePathThemed))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue