aboutsummaryrefslogtreecommitdiff
path: root/editor/editor_plugin.h
diff options
context:
space:
mode:
authorGilles Roudiere2017-10-15 22:33:25 +0200
committerGilles Roudiere2017-10-18 00:01:59 +0200
commitfc02605b497727913922d873eb7bd36d73aa00a9 (patch)
tree48752083c8ed68c7a0b9a891c7400c298729c69e /editor/editor_plugin.h
parent6e960c7d6bbf7481bae41ab0ebb39bc75619272a (diff)
downloadgodot-fc02605b497727913922d873eb7bd36d73aa00a9.tar.gz
godot-fc02605b497727913922d873eb7bd36d73aa00a9.tar.zst
godot-fc02605b497727913922d873eb7bd36d73aa00a9.zip
Fixes snapping and replaces the _draw_canvas by forward_canvas_draw
Diffstat (limited to 'editor/editor_plugin.h')
-rw-r--r--editor/editor_plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_plugin.h b/editor/editor_plugin.h
index 18530e9ce..1d68eee11 100644
--- a/editor/editor_plugin.h
+++ b/editor/editor_plugin.h
@@ -156,8 +156,8 @@ public:
void notify_scene_closed(const String &scene_filepath);
virtual Ref<SpatialEditorGizmo> create_spatial_gizmo(Spatial *p_spatial);
- virtual bool forward_canvas_gui_input(const Transform2D &p_canvas_xform, const Ref<InputEvent> &p_event);
- virtual void forward_draw_over_canvas(const Transform2D &p_canvas_xform, Control *p_canvas);
+ virtual bool forward_canvas_gui_input(const Ref<InputEvent> &p_event);
+ virtual void forward_draw_over_canvas(Control *p_canvas);
virtual bool forward_spatial_gui_input(Camera *p_camera, const Ref<InputEvent> &p_event);
virtual String get_name() const;
virtual bool has_main_screen() const;