App: Try to fix auto context renewal 2
All checks were successful
Test / Run tests (push) Successful in 2m57s
All checks were successful
Test / Run tests (push) Successful in 2m57s
This commit is contained in:
@ -202,7 +202,9 @@ namespace Elwig {
|
||||
}
|
||||
|
||||
public static async Task HintContextChange() {
|
||||
CurrentApp.LastChanged = CurrentLastWrite;
|
||||
var ch = CurrentLastWrite;
|
||||
if (ch > CurrentApp.LastChanged)
|
||||
CurrentApp.LastChanged = ch;
|
||||
foreach (Window w in CurrentApp.Windows) {
|
||||
if (w is not ContextWindow c) continue;
|
||||
await c.HintContextChange();
|
||||
|
Reference in New Issue
Block a user