mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
Enable reset of substitutions.
This commit is contained in:
parent
6130929985
commit
677d44442b
1 changed files with 4 additions and 5 deletions
|
|
@ -39,11 +39,10 @@ public class DalamudSubstitutionProvider : IDisposable
|
||||||
|
|
||||||
public void ResetSubstitutions(IEnumerable<Utf8GamePath> paths)
|
public void ResetSubstitutions(IEnumerable<Utf8GamePath> paths)
|
||||||
{
|
{
|
||||||
// TODO fix
|
var transformed = paths
|
||||||
//var transformed = paths
|
.Where(p => (p.Path.StartsWith("ui/"u8) || p.Path.StartsWith("common/font/"u8)) && p.Path.EndsWith(".tex"u8))
|
||||||
// .Where(p => (p.Path.StartsWith("ui/"u8) || p.Path.StartsWith("common/font/"u8)) && p.Path.EndsWith(".tex"u8))
|
.Select(p => p.ToString());
|
||||||
// .Select(p => p.ToString());
|
_substitution.InvalidatePaths(transformed);
|
||||||
//_substitution.InvalidatePaths(transformed);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Enable()
|
public void Enable()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue