diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2021-10-28 17:10:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-28 17:10:52 +0200 |
| commit | f7d852b5322104a90d45ef63c2ee54c937429487 (patch) | |
| tree | 88adafe357d9de615c9a89088af86a4fbcb1bd94 /editor/plugins/script_text_editor.cpp | |
| parent | e2deec67b9b3258f1c4fc7ee8c9a375676a0571a (diff) | |
| parent | 0ae65472e71324b3bb0fb43038630d31e700e562 (diff) | |
| download | redot-engine-f7d852b5322104a90d45ef63c2ee54c937429487.tar.gz | |
Merge pull request #54350 from akien-mga/clang-format-dont-align-operands
Diffstat (limited to 'editor/plugins/script_text_editor.cpp')
| -rw-r--r-- | editor/plugins/script_text_editor.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp index 2c02389db2..219498b5e7 100644 --- a/editor/plugins/script_text_editor.cpp +++ b/editor/plugins/script_text_editor.cpp @@ -1396,11 +1396,12 @@ Variant ScriptTextEditor::get_drag_data_fw(const Point2 &p_point, Control *p_fro bool ScriptTextEditor::can_drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from) const { Dictionary d = p_data; - if (d.has("type") && (String(d["type"]) == "resource" || - String(d["type"]) == "files" || - String(d["type"]) == "nodes" || - String(d["type"]) == "obj_property" || - String(d["type"]) == "files_and_dirs")) { + if (d.has("type") && + (String(d["type"]) == "resource" || + String(d["type"]) == "files" || + String(d["type"]) == "nodes" || + String(d["type"]) == "obj_property" || + String(d["type"]) == "files_and_dirs")) { return true; } |
