Skip to content

Commit

Permalink
refine code
Browse files Browse the repository at this point in the history
  • Loading branch information
knoxHuang committed Dec 25, 2023
1 parent b1ffc2a commit 22eb9ec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cocos/2d/components/deprecated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,25 +130,25 @@ replaceProperty(MaskType, 'MaskType', [
markAsWarning(LabelOutline.prototype, 'LabelOutline', [
{
name: 'width',
suggest: 'Please use "Label" outlineWidth instead.',
suggest: 'Please use Label.outlineWidth instead.',
},
{
name: 'color',
suggest: 'Please use "Label" outlineColor instead.',
suggest: 'Please use Label.outlineColor instead.',
},
]);

markAsWarning(LabelShadow.prototype, 'LabelShadow', [
{
name: 'color',
suggest: 'Please use "Label" shadowColor instead.',
suggest: 'Please use Label.shadowColor instead.',
},
{
name: 'offset',
suggest: 'Please use "Label" shadowOffset instead.',
suggest: 'Please use Label.shadowOffset instead.',
},
{
name: 'blur',
suggest: 'Please use "Label" shadowBlur instead.',
suggest: 'Please use Label.shadowBlur instead.',
},
]);

0 comments on commit 22eb9ec

Please sign in to comment.