修复温差图绘制状态下单击退出的问题,确保只有右击才能退出温差图绘制状态
This commit is contained in:
@@ -1452,6 +1452,12 @@ namespace JoyD.Windows.CS
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void PicBoxTemp_MouseClick(object sender, MouseEventArgs e)
|
private void PicBoxTemp_MouseClick(object sender, MouseEventArgs e)
|
||||||
{
|
{
|
||||||
|
// 如果处于温差图绘制状态,不执行任何操作(只有右击在MouseDown事件中处理退出)
|
||||||
|
if (_isTempDiffDrawingMode)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// 处理右键点击 - 退出选中状态
|
// 处理右键点击 - 退出选中状态
|
||||||
if (!_isDrawingMode && e.Button == MouseButtons.Right && _selectedRegionIndex != -1)
|
if (!_isDrawingMode && e.Button == MouseButtons.Right && _selectedRegionIndex != -1)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user