added a stub/fix for chrome messing up colors in full-screen...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-08-30 23:20:34 +03:00
parent e17b6363ce
commit 8bb284332d
4 changed files with 18 additions and 1 deletions

BIN
Viewer/data/blank.mp4 Normal file

Binary file not shown.

View File

@ -104,6 +104,14 @@ requirejs('ui')
</head>
<body>
<!--
XXX STUB: this fixes Chrome's tendency to mess up full screen colors unless a
video is present and visible...
-->
<video style="display:block; position:absolute; width:1px; height:1px; top:0px; left:0px" tabindex="-1">
<source src="data/blank.mp4" type="video/mp4">
</video>
<!--
XXX this lives in css/filters.svg but Chrome refuses to reference

View File

@ -112,6 +112,15 @@ requirejs(['ui'])
</head>
<body>
<!--
XXX STUB: this fixes Chrome's tendency to mess up full screen colors unless a
video is present and visible...
-->
<video style="display:block; position:absolute; width:1px; height:1px; top:0px; left:0px" tabindex="-1">
<source src="data/blank.mp4" type="video/mp4">
</video>
<!--
XXX this lives in css/filters.svg but Chrome refuses to reference
it's internals from the file: protocol...

View File

@ -1,6 +1,6 @@
{
"name": "ImageGrid.Viewer.g4",
"version": "4.0.0a",
"version": "4.0.0-a",
"lockfileVersion": 1,
"requires": true,
"dependencies": {