Skip to content

Commit

Permalink
Removed incorrect code
Browse files Browse the repository at this point in the history
  • Loading branch information
john-ciq committed May 17, 2024
1 parent 7d414e7 commit 2da47f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
12 changes: 0 additions & 12 deletions WPFExample/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -382,18 +382,6 @@ await FSBL.getDispatcher().Invoke(async delegate //main thread
//});

WindowReady?.Invoke(this, EventArgs.Empty);

_ = Task.Run(async () =>
{
await Task.Delay(5000);
Dispatcher.Invoke(delegate
{
Width = 1600;
Height = 60;
Top = 200;
Left = 200;
});
});
}

private void Logger_OnLog(object sender, JObject e)
Expand Down
4 changes: 2 additions & 2 deletions WinformExample/FormExample.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ private async void FinsembleConnected(object sender, EventArgs e)
// Example for getting Spawnable component list
var response = await FSBL.ConfigClient.Get(new[] { "finsemble", "components" });
HandleComponentsList(response);
// FSBL.PublishReady();

FSBL.PublishReady();
}

private void HandleContext(Context context, IContextMetadata metadata)
Expand Down

0 comments on commit 2da47f2

Please sign in to comment.