Browse Source

REPORT-4452 [9.0一轮回归]字体设置中上标下标可以同时被选中

master
MoMeak 7 years ago
parent
commit
180ee40391
  1. 2
      designer_base/src/com/fr/design/gui/style/FRFontPane.java

2
designer_base/src/com/fr/design/gui/style/FRFontPane.java

@ -180,6 +180,7 @@ public class FRFontPane extends AbstractBasicStylePane implements GlobalNameObse
if (superPane.isSelected() && !isSuper) {
frFont = frFont.applySuperscript(true);
frFont = frFont.applySubscript(false);
this.subPane.setSelected(false);
} else if (!superPane.isSelected() && isSuper) {
frFont = frFont.applySuperscript(false);
}
@ -188,6 +189,7 @@ public class FRFontPane extends AbstractBasicStylePane implements GlobalNameObse
if (subPane.isSelected() && !isSub) {
frFont = frFont.applySubscript(true);
frFont = frFont.applySuperscript(false);
this.superPane.setSelected(false);
} else if (!subPane.isSelected() && isSub) {
frFont = frFont.applySubscript(false);
}

Loading…
Cancel
Save