1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Insert index fix

This commit is contained in:
Brian Fiete 2021-12-06 10:28:00 -08:00
parent 9f57be150e
commit df94a61f48

View file

@ -335,7 +335,7 @@ namespace BeefPerf
void SetupTab(TabbedView tabbedView, String label, Widget widget)
{
var tabButton = tabbedView.AddTab(label, 0, widget, false);
var tabButton = tabbedView.AddTab(label, 0, widget, false, 0);
tabButton.mCloseClickedEvent.Add(new () =>
{
var tabbedView = tabButton.mTabbedView;
@ -920,7 +920,7 @@ namespace BeefPerf
TabbedView tabbedView = FindTabbedView(mDockingFrame, -1, 1);
if (tabbedView != null)
{
tabButton = tabbedView.AddTab(name, width, tabContent, ownsContent);
tabButton = tabbedView.AddTab(name, width, tabContent, ownsContent, 0);
result = ShowTabResult.OpenedNew;
}
}