diff options
| author | Juan Linietsky | 2016-08-30 23:44:14 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-08-30 23:46:41 -0300 |
| commit | fb4d6d1db0ed0fb8deb530be4b0ae481fb5ba3cd (patch) | |
| tree | 00e8915abce7590ad63e129d7f15425fe75322c5 /scene/gui/graph_edit.h | |
| parent | 2f0e2a78b5caaf659e078c549682e3d1347f7066 (diff) | |
| download | godot-fb4d6d1db0ed0fb8deb530be4b0ae481fb5ba3cd.tar.gz godot-fb4d6d1db0ed0fb8deb530be4b0ae481fb5ba3cd.tar.zst godot-fb4d6d1db0ed0fb8deb530be4b0ae481fb5ba3cd.zip | |
Diffstat (limited to 'scene/gui/graph_edit.h')
| -rw-r--r-- | scene/gui/graph_edit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/gui/graph_edit.h b/scene/gui/graph_edit.h index c3276ceac..ed6e4ef6a 100644 --- a/scene/gui/graph_edit.h +++ b/scene/gui/graph_edit.h @@ -110,6 +110,7 @@ private: bool setting_scroll_ofs; bool right_disconnects; bool updating; + bool awaiting_scroll_offset_update; List<Connection> connections; void _bake_segment2d(CanvasItem* p_where,float p_begin, float p_end, const Vector2& p_a, const Vector2& p_out, const Vector2& p_b, const Vector2& p_in, int p_depth, int p_min_depth, int p_max_depth, float p_tol, const Color& p_color, const Color& p_to_color, int &lines) const; @@ -123,9 +124,11 @@ private: void _scroll_moved(double); void _input_event(const InputEvent& p_ev); + Control *connections_layer; GraphEditFilter *top_layer; void _top_layer_input(const InputEvent& p_ev); void _top_layer_draw(); + void _connections_layer_draw(); void _update_scroll_offset(); Array _get_connection_list() const; |
