diff --git a/Main.cs b/Main.cs index 93de30c..bb23630 100644 --- a/Main.cs +++ b/Main.cs @@ -35,6 +35,11 @@ public async Task OpenPreviewAsync(string path, bool sendFailToast = true) public async Task> QueryAsync(Query query, CancellationToken token) => new List(); + // Due to QuickLook's size and position not persisted after hiding, and resets itself in the + // center screen position when appears, this is set to false to override the AlwaysPreview setting in flow + // so that when the query window appears QuickLook does not also appear and block the view. + public bool AllowAlwaysPreview() => false; + public string GetTranslatedPluginTitle() { return Context.API.GetTranslation("plugin_name");