Browse Source

回退剩余的代码

feature/x
obo 1 year ago
parent
commit
06462e7151
  1. 5
      designer-form/src/main/java/com/fr/design/widgettheme/common/NormalButtonSettingPane.java

5
designer-form/src/main/java/com/fr/design/widgettheme/common/NormalButtonSettingPane.java

@ -98,11 +98,6 @@ public class NormalButtonSettingPane<T extends Widget> extends BaseStyleSettingP
updateNormalButtonStyleBean(widgetTheme);
// 切换到跟随主题时,修改主题样式为默认样式,防止将自定义样式写入到模版,被主jar读取解析
if (widgetTheme.isFollowTheme()) {
t.setWidgetTheme(getDefaultNormalButtonTheme());
}
if (t instanceof FreeButton) {
FreeButton freeButton = (FreeButton) t;
freeButton.setCustomStyle(!widgetTheme.isFollowTheme());

Loading…
Cancel
Save