Skip to content

Commit

Permalink
name change
Browse files Browse the repository at this point in the history
  • Loading branch information
LinYunMo committed Sep 15, 2023
1 parent 6741339 commit ec97648
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cocos/2d/assembler/label/letter-font.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const letterFont = js.mixin(bmfontUtils, {
shareLabelInfo.fontFamily = this._getFontFamily(comp);

// outline
const isOutlined = comp.outlineUsed && comp.outlineWidth > 0;
const isOutlined = comp.enableOutline && comp.outlineWidth > 0;
if (isOutlined) {
shareLabelInfo.isOutlined = true;
shareLabelInfo.margin = comp.outlineWidth;
Expand Down
2 changes: 1 addition & 1 deletion cocos/2d/components/label-outline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { Label } from './label';
* @zh
* 描边效果组件,用于字体描边,只能用于系统字体。
*
* @deprecated since v3.8.2, please use [[Label.outlineUsed]] instead.
* @deprecated since v3.8.2, please use [[Label.enableOutline]] instead.
*/
@ccclass('cc.LabelOutline')
@help('i18n:cc.LabelOutline')
Expand Down
2 changes: 1 addition & 1 deletion cocos/2d/components/label-shadow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import { Label } from './label';
* @en Shadow effect for Label component, only for system fonts or TTF fonts.
* @zh 用于给 Label 组件添加阴影效果,只能用于系统字体或 ttf 字体。
*
* @deprecated since v3.8.2, please use [[Label.shadowUsed]] instead.
* @deprecated since v3.8.2, please use [[Label.enableShadow]] instead.
*/
@ccclass('cc.LabelShadow')
@help('i18n:cc.LabelShadow')
Expand Down

0 comments on commit ec97648

Please sign in to comment.