mirror of https://github.com/axmolengine/axmol.git
Fix misleading comment text in CCMenu.h (#18855)
This commit is contained in:
parent
dfdaf9ed61
commit
eb87dec447
|
@ -150,10 +150,10 @@ public:
|
||||||
virtual bool isEnabled() const { return _enabled; }
|
virtual bool isEnabled() const { return _enabled; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set whether the menu is visible. If set false, interacting with the menu
|
* Set whether the menu is enabled. If set to false, interacting with the menu
|
||||||
* will have no effect.
|
* will have no effect.
|
||||||
* The default value is true, a menu is default to visible.
|
* The default value is true, a menu is enabled by default.
|
||||||
*@param value true if menu is to be enabled, false if menu is to be disabled.
|
* @param value true if menu is to be enabled, false if menu is to be disabled.
|
||||||
*/
|
*/
|
||||||
virtual void setEnabled(bool value) { _enabled = value; };
|
virtual void setEnabled(bool value) { _enabled = value; };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue