diff options
author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2022-02-26 18:47:22 +0000 |
---|---|---|
committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2022-02-26 18:47:22 +0000 |
commit | aeff4cf6f3aeb952a7c39daeb2367a8426ecb2cb (patch) | |
tree | 9bb2bb2d2d509aa6cb9397ddb92c2d81a7028219 /scene/2d/parallax_layer.h | |
parent | 0393057e36e486b2944e6166e6572327944b2fa7 (diff) |
Remove ParallaxLayer's invalid dependence on screen_offset
Diffstat (limited to 'scene/2d/parallax_layer.h')
-rw-r--r-- | scene/2d/parallax_layer.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scene/2d/parallax_layer.h b/scene/2d/parallax_layer.h index b4dcf0ea61..c03f4cc293 100644 --- a/scene/2d/parallax_layer.h +++ b/scene/2d/parallax_layer.h @@ -43,8 +43,6 @@ class ParallaxLayer : public Node2D { Vector2 mirroring; void _update_mirroring(); - Point2 screen_offset; - protected: void _notification(int p_what); static void _bind_methods(); @@ -59,7 +57,7 @@ public: void set_mirroring(const Size2 &p_mirroring); Size2 get_mirroring() const; - void set_base_offset_and_scale(const Point2 &p_offset, real_t p_scale, const Point2 &p_screen_offset); + void set_base_offset_and_scale(const Point2 &p_offset, real_t p_scale); TypedArray<String> get_configuration_warnings() const override; ParallaxLayer(); |