diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-09-17 12:53:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-17 12:53:48 +0200 |
commit | c74bab66aaaef355ef8ac8d7e1a249509fad544e (patch) | |
tree | acb761bb28562f1f40e0e5736a9c79e91b4b7fb1 /editor/plugins/canvas_item_editor_plugin.h | |
parent | a1b4e4c607acb09c13bdf1b9609f2d45c4b01e15 (diff) | |
parent | 072e379ffe7f0d8adc2ac0eb700abfd7c27d8278 (diff) |
Merge pull request #11274 from Rubonnek/keep-argument-names-consistent
Renamed function arguments to keep them consistent between declaration and implementation
Diffstat (limited to 'editor/plugins/canvas_item_editor_plugin.h')
-rw-r--r-- | editor/plugins/canvas_item_editor_plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.h b/editor/plugins/canvas_item_editor_plugin.h index e81988668b..f61bfc9ebb 100644 --- a/editor/plugins/canvas_item_editor_plugin.h +++ b/editor/plugins/canvas_item_editor_plugin.h @@ -317,7 +317,7 @@ class CanvasItemEditor : public VBoxContainer { void _prepare_drag(const Point2 &p_click_pos); DragType _get_anchor_handle_drag_type(const Point2 &p_click, Vector2 &r_point); - float _anchor_snap(float anchor, bool *snapped = NULL, float p_opposite_anchor = -1); + float _anchor_snap(float p_anchor, bool *p_snapped = NULL, float p_opposite_anchor = -1); Vector2 _anchor_to_position(Control *p_control, Vector2 anchor); Vector2 _position_to_anchor(Control *p_control, Vector2 position); |