Correctly update frames nested in grid

This commit is contained in:
Jonatan Kłosko 2022-08-10 12:38:22 +02:00
parent f33eb616aa
commit 82577828f8

View file

@ -642,9 +642,9 @@ defmodule Livebook.Notebook do
output = {idx, {:frame, apply_frame_update(outputs, new_outputs, type), info}} output = {idx, {:frame, apply_frame_update(outputs, new_outputs, type), info}}
{output, counter} {output, counter}
{idx, {:frame, outputs, info}}, counter -> {idx, {type, outputs, info}}, counter when type in [:frame, :tabs, :grid] ->
{outputs, counter} = update_frames(outputs, counter, frame) {outputs, counter} = update_frames(outputs, counter, frame)
output = {idx, {:frame, outputs, info}} output = {idx, {type, outputs, info}}
{output, counter} {output, counter}
output, counter -> output, counter ->