summaryrefslogtreecommitdiff
path: root/scene/gui/control.cpp
diff options
context:
space:
mode:
authorAnshul7sp1 <Anshul7sp1@users.noreply.github.com>2021-03-12 19:05:16 +0530
committerAnshul7sp1 <Anshul7sp1@users.noreply.github.com>2021-03-12 19:05:16 +0530
commit91181c20865d419decd78e022006074c9fd0faba (patch)
tree29f7cfdc5c544cfd6f3128588dd42f9ce3767c8e /scene/gui/control.cpp
parentadf233ed0436a0564db7682b4ce0931656d4c392 (diff)
Fixes small typos and grammar correction
Diffstat (limited to 'scene/gui/control.cpp')
-rw-r--r--scene/gui/control.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp
index f188e63743..d209b17fa1 100644
--- a/scene/gui/control.cpp
+++ b/scene/gui/control.cpp
@@ -584,7 +584,7 @@ void Control::_notification(int p_notification) {
} break;
case NOTIFICATION_MOVED_IN_PARENT: {
- // some parents need to know the order of the childrens to draw (like TabContainer)
+ // some parents need to know the order of the children to draw (like TabContainer)
// update if necessary
if (data.parent) {
data.parent->update();
@@ -1782,7 +1782,7 @@ void Control::add_theme_icon_override(const StringName &p_name, const Ref<Textur
data.icon_override[p_name]->disconnect("changed", callable_mp(this, &Control::_override_changed));
}
- // clear if "null" is passed instead of a icon
+ // clear if "null" is passed instead of an icon
if (p_icon.is_null()) {
data.icon_override.erase(p_name);
} else {