|
|
|
@ -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()); |
|
|
|
|