diff --git a/src/simply/simply_stage.c b/src/simply/simply_stage.c index a5c0e98a..4d08f650 100644 --- a/src/simply/simply_stage.c +++ b/src/simply/simply_stage.c @@ -339,7 +339,10 @@ static void layer_update_callback(Layer *layer, GContext *ctx) { if (self->window.is_scrollable) { frame.origin = GPointZero; layer_set_frame(layer, frame); - scroll_layer_set_content_size(self->window.scroll_layer, frame.size); + const GSize content_size = scroll_layer_get_content_size(self->window.scroll_layer); + if (!gsize_equal(&frame.size, &content_size)) { + scroll_layer_set_content_size(self->window.scroll_layer, frame.size); + } } }