change toggle button state externally

This commit is contained in:
Matt Parker
2025-08-27 22:46:39 +10:00
parent fe10a2cd7a
commit 247989fda4
4 changed files with 21 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ public partial class RunMenuItem : HBoxContainer
private async void OnRunButtonPressed()
{
GodotGlobalEvents.InvokeBottomPanelTabSelected(BottomPanelType.Run);
GodotGlobalEvents.InvokeBottomPanelTabExternallySelected(BottomPanelType.Run);
await Singletons.RunService.RunProject(Project).ConfigureAwait(false);
}
}