移除不用的脚本
This commit is contained in:
@@ -34,6 +34,7 @@ namespace SRDebugger.UI.Tabs
|
||||
new Dictionary<OptionDefinition, OptionsControlBase>();
|
||||
|
||||
private bool _queueRefresh;
|
||||
private bool _queuePopulate;
|
||||
private bool _selectionModeEnabled;
|
||||
private Canvas _optionCanvas;
|
||||
|
||||
@@ -95,7 +96,7 @@ namespace SRDebugger.UI.Tabs
|
||||
private void OnOptionsUpdated(object sender, EventArgs eventArgs)
|
||||
{
|
||||
Clear();
|
||||
Populate();
|
||||
_queuePopulate = true;
|
||||
}
|
||||
|
||||
protected override void OnEnable()
|
||||
@@ -129,6 +130,16 @@ namespace SRDebugger.UI.Tabs
|
||||
}
|
||||
}
|
||||
|
||||
void LateUpdate()
|
||||
{
|
||||
if (_queuePopulate)
|
||||
{
|
||||
_queuePopulate = false;
|
||||
Clear();
|
||||
Populate();
|
||||
}
|
||||
}
|
||||
|
||||
private void PanelOnVisibilityChanged(IDebugPanelService debugPanelService, bool b)
|
||||
{
|
||||
// Always end pinning mode when panel is closed
|
||||
|
||||
Reference in New Issue
Block a user