Browse Source
Merge pull request #10953 from AvaloniaUI/fixes/headless-platform-timer
Headless timer should report that it runs on the "UI" thread
pull/10974/head
Max Katz
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
src/Avalonia.Headless/AvaloniaHeadlessPlatform.cs
|
|
|
@ -43,6 +43,8 @@ namespace Avalonia.Headless |
|
|
|
_framesPerSecond = framesPerSecond; |
|
|
|
} |
|
|
|
|
|
|
|
public override bool RunsInBackground => false; |
|
|
|
|
|
|
|
public void ForceTick() => _forceTick?.Invoke(); |
|
|
|
} |
|
|
|
|
|
|
|
|