- Even more cleanup and comments

This commit is contained in:
Nils Hausfeld
2023-09-29 17:26:56 +02:00
parent 4bf46c3af3
commit 091d34b20d
4 changed files with 8 additions and 6 deletions

View File

@@ -494,7 +494,7 @@ namespace FlaxEditor.Surface.ContextMenu
_panel1.ScrollViewTo(SelectedItem);
Profiler.EndEvent();
}
/// <summary>
/// Sort the groups and keeps <see cref="_groups"/> in sync
/// </summary>
@@ -558,7 +558,7 @@ namespace FlaxEditor.Surface.ContextMenu
SortGroups();
PerformLayout();
Profiler.EndEvent();
}
@@ -676,11 +676,10 @@ namespace FlaxEditor.Surface.ContextMenu
// Prepare
UpdateSurfaceParametersGroup();
ResetView();
_panel1.VScrollBar.TargetValue = 0;
Focus();
_waitingForInput = true;
base.OnShow();
}