mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +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)
|
||||
{
|
||||
// TODO fix
|
||||
//var transformed = paths
|
||||
// .Where(p => (p.Path.StartsWith("ui/"u8) || p.Path.StartsWith("common/font/"u8)) && p.Path.EndsWith(".tex"u8))
|
||||
// .Select(p => p.ToString());
|
||||
//_substitution.InvalidatePaths(transformed);
|
||||
var transformed = paths
|
||||
.Where(p => (p.Path.StartsWith("ui/"u8) || p.Path.StartsWith("common/font/"u8)) && p.Path.EndsWith(".tex"u8))
|
||||
.Select(p => p.ToString());
|
||||
_substitution.InvalidatePaths(transformed);
|
||||
}
|
||||
|
||||
public void Enable()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue