summaryrefslogtreecommitdiffstats
path: root/scene/gui/control.cpp
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-10-29 19:25:36 -0500
committerThaddeus Crews <repiteo@outlook.com>2024-10-29 19:25:36 -0500
commitb7a0971ad2d168e31d9a3ba93bbc59865bb1c337 (patch)
tree1d67cb0af1f6c2c8f2b054ceef7f9f764b6ff35d /scene/gui/control.cpp
parent64b68192cc8a13e7ed87a8f64b2d5dd6f15e4056 (diff)
parent25b28aa8877faafde9f1770f4afccab95d681d43 (diff)
downloadredot-engine-b7a0971ad2d168e31d9a3ba93bbc59865bb1c337.tar.gz
Merge pull request #97934 from adamscott/give-AThousandShips-a-break
[Codestyle] Set clang-format `RemoveSemicolon` rule to `true`
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 5052deb65a..4b3007543b 100644
--- a/scene/gui/control.cpp
+++ b/scene/gui/control.cpp
@@ -120,11 +120,11 @@ void Control::_edit_set_state(const Dictionary &p_state) {
void Control::_edit_set_position(const Point2 &p_position) {
ERR_FAIL_COND_MSG(!Engine::get_singleton()->is_editor_hint(), "This function can only be used from editor plugins.");
set_position(p_position, ControlEditorToolbar::get_singleton()->is_anchors_mode_enabled() && get_parent_control());
-};
+}
Point2 Control::_edit_get_position() const {
return get_position();
-};
+}
void Control::_edit_set_scale(const Size2 &p_scale) {
set_scale(p_scale);