Skip to content

Commit

Permalink
Fix graph update issue
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyschoen committed Nov 27, 2024
1 parent f82a83d commit 3a9dec4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Source/TabComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,6 @@ void TabComponent::moveToLeftSplit(TabBarButtonComponent* tab)

showTab(tabbars[1][0]->cnv, 1); // Show first tab of right split
}

sendTabUpdateToVisibleCanvases();
}

void TabComponent::moveToRightSplit(TabBarButtonComponent* tab)
Expand Down Expand Up @@ -247,8 +245,6 @@ void TabComponent::moveToRightSplit(TabBarButtonComponent* tab)
showTab(tabbars[0][0]->cnv, 0); // Show first tab of left tabbar
showTab(tab->cnv, 1); // Show the moved tab on right tabbar
}

sendTabUpdateToVisibleCanvases();
}

void TabComponent::nextTab()
Expand Down Expand Up @@ -546,6 +542,8 @@ void TabComponent::showTab(Canvas* cnv, int splitIndex)

editor->nvgSurface.invalidateAll();

sendTabUpdateToVisibleCanvases();

editor->sidebar->hideParameters();
editor->sidebar->clearSearchOutliner();
editor->updateCommandStatus();
Expand Down

0 comments on commit 3a9dec4

Please sign in to comment.