Fix ImagePanel button layout

This commit is contained in:
ema
2025-07-05 04:28:32 +08:00
parent f99a786510
commit 08587186c2
3 changed files with 7 additions and 28 deletions

View File

@@ -16,6 +16,7 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
using QuickLook.Common.Plugin;
using QuickLook.Plugin.ImageViewer;
using System;
using System.Collections.Generic;
using System.IO;
@@ -34,7 +35,7 @@ public class Plugin : IViewer
//".fig", // Figma
]);
private ThumbnailImagePanel _ip;
private ImagePanel _ip;
public int Priority => 0;
@@ -64,9 +65,11 @@ public class Plugin : IViewer
public void View(string path, ContextObject context)
{
_ip = new ThumbnailImagePanel
_ip = new ImagePanel
{
ContextObject = context,
SaveAsVisibility = Visibility.Visible,
ReverseColorVisibility = Visibility.Visible,
};
_ = Task.Run(() =>