Skip to content

Commit

Permalink
Consistency in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Reiche committed Jan 20, 2022
1 parent abb8492 commit 4347a65
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/src/docs/modules/layout-check.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@ To check the layout of a single GuiElement only, you can use the standard assert
----
// 10% of the pixels are allowed to be different
float pixelDistanceToleranceThresholdPercent = 10.0;
String guiElementImage = "HeaderComponent";
guiElement.asserts().assertScreenshot(guiElementImage, pixelDistanceToleranceThresholdPercent);
guiElement.asserts().assertScreenshot("HeaderComponent", pixelDistanceToleranceThresholdPercent);
----

== Take reference screenshots on first run
Expand Down

0 comments on commit 4347a65

Please sign in to comment.