1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Remove the loading icon div and replace it by a pure css solution using :after.

This way we don't have a lot of useless divs and we let the css engine handle the
creation/destruction of the :after pseudo-element.
It'll help to slightly improve performance when zooming.
This commit is contained in:
Calixte Denizet 2023-01-29 17:53:01 +01:00
parent 1bdee0b59b
commit aac073feeb
4 changed files with 34 additions and 26 deletions

View file

@ -207,7 +207,6 @@ page_scale_actual=Actual Size
page_scale_percent={{scale}}%
# Loading indicator messages
loading=Loading…
loading_error=An error occurred while loading the PDF.
invalid_file_error=Invalid or corrupted PDF file.
missing_file_error=Missing PDF file.