修复CapsuleConfig color数据溢出问题

phiz_2.41.5.1
zhongweiguang 2023-03-20 17:47:20 +08:00
parent 07502871fe
commit 71f44503e4
1 changed files with 6 additions and 6 deletions

View File

@ -184,12 +184,12 @@ class CapsuleConfig {
"capsuleRightMargin": capsuleRightMargin,
"capsuleCornerRadius": capsuleCornerRadius,
"capsuleBorderWidth": capsuleBorderWidth,
"capsuleBgLightColor": capsuleBgLightColor,
"capsuleBgDarkColor": capsuleBgDarkColor,
"capsuleBorderLightColor": capsuleBorderLightColor,
"capsuleBorderDarkColor": capsuleBorderDarkColor,
"capsuleDividerLightColor": capsuleDividerLightColor,
"capsuleDividerDarkColor": capsuleDividerDarkColor,
"capsuleBgLightColor": capsuleBgLightColor.toSigned(32),
"capsuleBgDarkColor": capsuleBgDarkColor.toSigned(32),
"capsuleBorderLightColor": capsuleBorderLightColor.toSigned(32),
"capsuleBorderDarkColor": capsuleBorderDarkColor.toSigned(32),
"capsuleDividerLightColor": capsuleDividerLightColor.toSigned(32),
"capsuleDividerDarkColor": capsuleDividerDarkColor.toSigned(32),
"moreLightImage": moreLightImage,
"moreDarkImage": moreDarkImage,
"moreBtnWidth": moreBtnWidth,