mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 04:37:30 +02:00
fixed a bunch of infos
This commit is contained in:
@@ -258,26 +258,17 @@ namespace FancyZonesEditor
|
||||
|
||||
private void DoMergeDrag(MouseEventArgs e)
|
||||
{
|
||||
if (MergeDrag != null)
|
||||
{
|
||||
MergeDrag(this, e);
|
||||
}
|
||||
MergeDrag?.Invoke(this, e);
|
||||
}
|
||||
|
||||
private void DoMergeComplete(MouseButtonEventArgs e)
|
||||
{
|
||||
if (MergeComplete != null)
|
||||
{
|
||||
MergeComplete(this, e);
|
||||
}
|
||||
MergeComplete?.Invoke(this, e);
|
||||
}
|
||||
|
||||
private void DoSplit(Orientation orientation, double offset)
|
||||
{
|
||||
if (Split != null)
|
||||
{
|
||||
Split(this, new SplitEventArgs(orientation, offset));
|
||||
}
|
||||
Split?.Invoke(this, new SplitEventArgs(orientation, offset));
|
||||
}
|
||||
|
||||
private void FullSplit_Click(object sender, RoutedEventArgs e)
|
||||
@@ -287,10 +278,7 @@ namespace FancyZonesEditor
|
||||
|
||||
private void DoFullSplit()
|
||||
{
|
||||
if (FullSplit != null)
|
||||
{
|
||||
FullSplit(this, new SplitEventArgs());
|
||||
}
|
||||
FullSplit?.Invoke(this, new SplitEventArgs());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user