htmlgames / htmlgames.github.io

HTML Games
5 stars 7 forks source link

FIXED: Vertical white line appearing in portrait black mode (affects APK only) #17

Closed htmlgames closed 6 years ago

htmlgames commented 6 years ago

1px wide and about the height of the canvas. Only on the Android Webview (in Chrome webview.html works with no defects). Also only in portrait mode with black background.

Could be an Android Webview bug.

Can also be caused when svg is used as a 'filler' background (aka HTML Games logo)

Possible workaround: Isolate the affected div / background color and set it to black when in the mode above.

htmlgames commented 6 years ago

(Not in player.css touch.css or index.css)

Next check root canvas css in js

Yes it was the root canvas, scaling below 480 x 360 by a small amount.

Currently testing 'transparent' which is working... And is in v10.js

Set to #000 black in the v9.js