Compare commits

...

1 Commits

Author SHA1 Message Date
lorenz.stechauner 6627ab6d12 App: Try to fix auto context renewal 2
Test / Run tests (push) Successful in 2m57s
2024-09-01 11:44:38 +02:00
+3 -1
View File
@@ -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();