summaryrefslogtreecommitdiffstats
path: root/scene/2d/camera_2d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/2d/camera_2d.cpp')
-rw-r--r--scene/2d/camera_2d.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/camera_2d.cpp b/scene/2d/camera_2d.cpp
index eeb87a7396..fc691c9ca6 100644
--- a/scene/2d/camera_2d.cpp
+++ b/scene/2d/camera_2d.cpp
@@ -517,6 +517,7 @@ void Camera2D::set_h_offset(float p_offset) {
h_offset_changed = true;
_update_scroll();
}
+
float Camera2D::get_h_offset() const {
return h_ofs;
}