chrome://dino Ensure the game area is in view before activating
New content to the offline page will mean it's currently possible to scroll down the page and inadverently activate the offline dino game. This change ensures the game canvas is mostly in the viewport before allow the game to start. Bug: 873343 Change-Id: I04d874f71480b3aac20a24373466626e3372f246 Reviewed-on: https://chromium-review.googlesource.com/1240339Reviewed-by:Matt Menke <mmenke@chromium.org> Commit-Queue: Edward Jung <edwardjung@chromium.org> Cr-Commit-Position: refs/heads/master@{#595822}
Showing
Please register or sign in to comment