mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-12 18:39:45 +00:00
Update copyright header
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
// Copyright © 2021 Paddy Xu and mooflu
|
// Copyright © 2021 Paddy Xu and Frank Becker
|
||||||
//
|
//
|
||||||
// This file is part of QuickLook program.
|
// This file is part of QuickLook program.
|
||||||
//
|
//
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright © 2021 Paddy Xu and mooflu
|
// Copyright © 2021 Paddy Xu and Frank Becker
|
||||||
//
|
//
|
||||||
// This file is part of QuickLook program.
|
// This file is part of QuickLook program.
|
||||||
//
|
//
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright © 2021 Paddy Xu and mooflu
|
// Copyright © 2021 Paddy Xu and Frank Becker
|
||||||
//
|
//
|
||||||
// This file is part of QuickLook program.
|
// This file is part of QuickLook program.
|
||||||
//
|
//
|
||||||
@@ -64,12 +64,12 @@ namespace QuickLook.Plugin.HtmlViewer
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
_webView.Source = uri;
|
_webView.Source = uri;
|
||||||
_currentUri = _webView?.Source;
|
_currentUri = _webView.Source;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void NavigateToHtml(string html)
|
public void NavigateToHtml(string html)
|
||||||
{
|
{
|
||||||
_webView.EnsureCoreWebView2Async()
|
_webView?.EnsureCoreWebView2Async()
|
||||||
.ContinueWith(_ => Dispatcher.Invoke(() => _webView?.NavigateToString(html)));
|
.ContinueWith(_ => Dispatcher.Invoke(() => _webView?.NavigateToString(html)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user