* UILineChart:有右键菜单时,取消恢复上次缩放,可在右键菜单增加节点,调用ZoomBack()方法。

This commit is contained in:
Sunny 2021-04-12 23:00:48 +08:00
parent 45d9bb7648
commit 017b4f612a
5 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -677,7 +677,7 @@ namespace Sunny.UI
StartPoint = StopPoint = e.Location; StartPoint = StopPoint = e.Location;
} }
if (e.Button == MouseButtons.Right) if (e.Button == MouseButtons.Right && ContextMenuStrip == null)
{ {
ZoomBack(); ZoomBack();
} }
@ -777,7 +777,7 @@ namespace Sunny.UI
Invalidate(); Invalidate();
} }
private void ZoomBack() public void ZoomBack()
{ {
if (!IsZoom) return; if (!IsZoom) return;