Skip to content

Commit

Permalink
Frontend: Fix an issue where image still applied while the feature is…
Browse files Browse the repository at this point in the history
… disabled.
  • Loading branch information
Xian55 committed Feb 11, 2022
1 parent af070c1 commit 4a83342
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions BlazorServer/Pages/ScreenshotComponent.razor
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@

private async void ImageChanged(object sender, ScreenChangeEventArgs args)
{
if (!this.botController.WowScreen.EnablePostProcess)
return;

this.image = args.Screenshot;

await InvokeAsync(() =>
Expand Down

0 comments on commit 4a83342

Please sign in to comment.