avoid showing unloaded splash image

This commit is contained in:
ading2210 2024-01-22 23:54:10 +00:00
parent 454efff26d
commit 1a828bfbdd

View file

@ -24,14 +24,16 @@
img { img {
width: 128px; width: 128px;
height: 128px; height: 128px
} }
</style> </style>
</head> </head>
<body> <body>
<div class="wrapper"> <div class="wrapper">
<img id="animation" draggable="false" alt="animation" role="presentation" /> <!-- the data url is here to ensure there isn't an empty frame before the image is loaded -->
<img id="animation" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
draggable="false" alt="animation" role="presentation" />
<p>Loading Vesktop...</p> <p>Loading Vesktop...</p>
</div> </div>
</body> </body>