mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-12 18:39:45 +00:00
Enable window dragging in video viewer panel #425
This commit is contained in:
@@ -181,6 +181,14 @@ public partial class ViewerPanel : UserControl, IDisposable, INotifyPropertyChan
|
||||
_midiPlayer = null;
|
||||
}
|
||||
|
||||
private void Panel_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
|
||||
{
|
||||
if (e.LeftButton == MouseButtonState.Pressed)
|
||||
{
|
||||
Window.GetWindow(this)?.DragMove();
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
private void MediaOpened(object o, RoutedEventArgs args)
|
||||
|
Reference in New Issue
Block a user