Browse Source

REPORT-52818 图表块点击快捷配置触发了编辑效果

feature/10.0
kuangshuai 4 years ago
parent
commit
e6bcb5a99a
  1. 9
      designer-form/src/main/java/com/fr/design/designer/creator/XChartEditor.java

9
designer-form/src/main/java/com/fr/design/designer/creator/XChartEditor.java

@ -255,6 +255,10 @@ public class XChartEditor extends XBorderStyleWidgetCreator {
* @param e 鼠标点击事件
*/
public void respondClick(EditingMouseListener editingMouseListener, MouseEvent e) {
if (this.isShareConfigButtonFocus()) {
CoverReportPane.showShareConfig(((XCreator) this.getParent()).toData());
return;
}
FormDesigner designer = editingMouseListener.getDesigner();
SelectionModel selectionModel = editingMouseListener.getSelectionModel();
isEditing = e.getButton() == MouseEvent.BUTTON1 &&
@ -272,11 +276,6 @@ public class XChartEditor extends XBorderStyleWidgetCreator {
}
}
}
if (this.isShareConfigButtonFocus()) {
CoverReportPane.showShareConfig(((XCreator) this.getParent()).toData());
}
}
@Override

Loading…
Cancel
Save