summaryrefslogtreecommitdiff
path: root/src/gui/views/gcal-week-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/views/gcal-week-view.c')
-rw-r--r--src/gui/views/gcal-week-view.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/views/gcal-week-view.c b/src/gui/views/gcal-week-view.c
index 6bfc54a5..255f59ee 100644
--- a/src/gui/views/gcal-week-view.c
+++ b/src/gui/views/gcal-week-view.c
@@ -57,7 +57,6 @@ struct _GcalWeekView
gboolean pointer_position_valid;
gdouble pointer_position_y;
- gdouble scroll_scale;
gdouble initial_zoom_level;
gdouble zoom_level;
@@ -273,8 +272,6 @@ on_scroll_controller_scroll_begin_cb (GtkEventControllerScroll *controller,
{
gdouble view_center_y;
- self->scroll_scale = 1.0;
-
if (self->pointer_position_valid)
view_center_y = self->pointer_position_y;
else