* UILineChart:有右键菜单时,取消恢复上次缩放,可在右键菜单增加节点,调用ZoomBack()方法。
This commit is contained in:
parent
45d9bb7648
commit
017b4f612a
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -677,7 +677,7 @@ namespace Sunny.UI
|
||||
StartPoint = StopPoint = e.Location;
|
||||
}
|
||||
|
||||
if (e.Button == MouseButtons.Right)
|
||||
if (e.Button == MouseButtons.Right && ContextMenuStrip == null)
|
||||
{
|
||||
ZoomBack();
|
||||
}
|
||||
@ -777,7 +777,7 @@ namespace Sunny.UI
|
||||
Invalidate();
|
||||
}
|
||||
|
||||
private void ZoomBack()
|
||||
public void ZoomBack()
|
||||
{
|
||||
if (!IsZoom) return;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user