Skip to content

Commit

Permalink
Skip 14 pixel at the bottom of mobile tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Dec 19, 2024
1 parent 129e97b commit 11cd9b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion visualmetrics/visualmetrics-portable.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ def find_image_viewport(file, is_mobile):
# On mobile we need to ignore the top ~10 pixels because
# there is a visible progress bar there on some browsers.
viewport["y"] += 10
viewport["height"] -= 10
viewport["height"] -= 14

except Exception:
viewport = None
Expand Down

0 comments on commit 11cd9b6

Please sign in to comment.