From bbdba98a126bf799e37ad5cd4b2b506ec30bf792 Mon Sep 17 00:00:00 2001 From: Xiao Gui <xgui3783@gmail.com> Date: Mon, 30 Sep 2019 15:55:12 +0200 Subject: [PATCH] bugfix: redraw viewer after layout changes --- src/ui/nehubaContainer/nehubaContainer.component.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ui/nehubaContainer/nehubaContainer.component.ts b/src/ui/nehubaContainer/nehubaContainer.component.ts index 714686a77..c0fe9adee 100644 --- a/src/ui/nehubaContainer/nehubaContainer.component.ts +++ b/src/ui/nehubaContainer/nehubaContainer.component.ts @@ -616,6 +616,11 @@ export class NehubaContainer implements OnInit, OnDestroy{ for (const panel of viewPanels){ (panel as HTMLElement).classList.add('neuroglancer-panel') } + + // TODO needed to redraw? + // see https://trello.com/c/oJOnlc6v/60-enlarge-panel-allow-user-rearrange-panel-position + // further investigaation required + this.nehubaViewer.redraw() }) ) -- GitLab