|
|
@@ -87,6 +87,13 @@ public partial class BottomBar : UserControl
|
|
|
private void MoveWindow(PointerPressedEventArgs e)
|
|
|
{
|
|
|
if (VisualRoot is null) { return; }
|
|
|
+
|
|
|
+ if (e.GetCurrentPoint(this).Properties.IsRightButtonPressed)
|
|
|
+ {
|
|
|
+ // Context menu doesn't want to be opened normally
|
|
|
+ MainContextMenu.Open();
|
|
|
+ return;
|
|
|
+ }
|
|
|
|
|
|
WindowFunctions.WindowDragBehavior((Window)VisualRoot, e);
|
|
|
}
|