Skip to content

Commit

Permalink
more bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aveao committed Jul 15, 2016
1 parent 7d24be7 commit fbd2fd4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ownshot/ownshot/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,13 @@ private void image1_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
private void button_Click(object sender, RoutedEventArgs e)
{
SetWindowStyle(true);
selectionRectangle.MouseUp -= image1_MouseLeftButtonUp;
selectionRectangle.MouseMove -= image1_MouseMove;
BackPanel.MouseUp -= image1_MouseLeftButtonUp;
BackPanel.MouseMove -= image1_MouseMove;
image.MouseUp -= image1_MouseLeftButtonUp;
image.MouseMove -= image1_MouseMove;
selectionRectangle.Width = 0; //workaround
}
}
}

0 comments on commit fbd2fd4

Please sign in to comment.