diff --git a/cocos/ui/UIDeprecated.h b/cocos/ui/UIDeprecated.h index cef9f51fc2..dcdb3abeeb 100644 --- a/cocos/ui/UIDeprecated.h +++ b/cocos/ui/UIDeprecated.h @@ -147,7 +147,7 @@ CC_DEPRECATED_ATTRIBUTE typedef LoadingBar::Direction LoadingBarType; CC_DEPRECATED_ATTRIBUTE typedef PageView::TouchDirection PVTouchDir; CC_DEPRECATED_ATTRIBUTE typedef RichElement::Type RichElementType; CC_DEPRECATED_ATTRIBUTE typedef ScrollView::Direction SCROLLVIEW_DIR; - +CC_DEPRECATED_ATTRIBUTE const Margin MarginZero = Margin::ZERO ; }