mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-11-08 05:04:46 +08:00
Correctly update frames nested in grid
This commit is contained in:
parent
f33eb616aa
commit
82577828f8
1 changed files with 2 additions and 2 deletions
|
|
@ -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 ->
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue