diff options
| author | Rémi Verschelde | 2017-12-07 09:18:11 +0100 |
|---|---|---|
| committer | GitHub | 2017-12-07 09:18:11 +0100 |
| commit | 96dbf19093cfc88aa688d4321fd07c2fb9afb259 (patch) | |
| tree | d5d31273dc27f2a864bdf8620ddd2fe0a8facff5 /editor/plugins/curve_editor_plugin.cpp | |
| parent | 5e19fac9872e8ba24a65bf6f9de2fdf9fa360358 (diff) | |
| parent | 13c2ff932089db24841bb971b645141218bd8586 (diff) | |
| download | godot-96dbf19093cfc88aa688d4321fd07c2fb9afb259.tar.gz godot-96dbf19093cfc88aa688d4321fd07c2fb9afb259.tar.zst godot-96dbf19093cfc88aa688d4321fd07c2fb9afb259.zip | |
Merge pull request #14332 from akien-mga/clang-format
Update style for clang-format 5.0.0, new min required version
Diffstat (limited to '')
| -rw-r--r-- | editor/plugins/curve_editor_plugin.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/editor/plugins/curve_editor_plugin.cpp b/editor/plugins/curve_editor_plugin.cpp index 2754aeed0..f77016c1d 100644 --- a/editor/plugins/curve_editor_plugin.cpp +++ b/editor/plugins/curve_editor_plugin.cpp @@ -586,8 +586,10 @@ struct CanvasItemPlotCurve { Color color1; Color color2; - CanvasItemPlotCurve(CanvasItem &p_ci, Color p_color1, Color p_color2) - : ci(p_ci), color1(p_color1), color2(p_color2) {} + CanvasItemPlotCurve(CanvasItem &p_ci, Color p_color1, Color p_color2) : + ci(p_ci), + color1(p_color1), + color2(p_color2) {} void operator()(Vector2 pos0, Vector2 pos1, bool in_definition) { ci.draw_line(pos0, pos1, in_definition ? color1 : color2); |
