fix:issue #327
This commit is contained in:
@@ -1516,6 +1516,7 @@ namespace Ink_Canvas
|
||||
|
||||
if (lastBorderMouseDownObject is Panel panel)
|
||||
panel.Background = new SolidColorBrush(Colors.Transparent);
|
||||
if (sender == ToolsFloatingBarBtn && lastBorderMouseDownObject != ToolsFloatingBarBtn) return;
|
||||
|
||||
if (BorderTools.Visibility == Visibility.Visible)
|
||||
{
|
||||
@@ -1549,6 +1550,11 @@ namespace Ink_Canvas
|
||||
AnimationsHelper.ShowWithSlideFromBottomAndFade(BorderTools);
|
||||
AnimationsHelper.ShowWithSlideFromBottomAndFade(BoardBorderTools);
|
||||
}
|
||||
|
||||
if (sender == ToolsFloatingBarBtn)
|
||||
{
|
||||
lastBorderMouseDownObject = null;
|
||||
}
|
||||
}
|
||||
|
||||
private bool isViewboxFloatingBarMarginAnimationRunning;
|
||||
|
||||
Reference in New Issue
Block a user