mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-12 18:39:45 +00:00
Decouple some plugins from QuickLook
This commit is contained in:
@@ -62,6 +62,7 @@ public partial class ViewerPanel : UserControl, IDisposable, INotifyPropertyChan
|
||||
public ViewerPanel(ContextObject context)
|
||||
{
|
||||
InitializeComponent();
|
||||
LoadAndInsertGlassLayer();
|
||||
|
||||
// apply global theme
|
||||
Resources.MergedDictionaries[0].MergedDictionaries.Clear();
|
||||
@@ -100,6 +101,8 @@ public partial class ViewerPanel : UserControl, IDisposable, INotifyPropertyChan
|
||||
PreviewMouseWheel += (sender, e) => ChangeVolume((double)e.Delta / 120 * 0.04);
|
||||
}
|
||||
|
||||
private partial void LoadAndInsertGlassLayer();
|
||||
|
||||
public bool HasVideo
|
||||
{
|
||||
get => _hasVideo;
|
||||
|
Reference in New Issue
Block a user