Parcourir la source

Reduce lag

perhaps helps. the background is more problematic.
Manav Rathi il y a 1 an
Parent
commit
029cc128c1
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      web/apps/cast/src/components/Slide.tsx

+ 1 - 0
web/apps/cast/src/components/Slide.tsx

@@ -45,6 +45,7 @@ export const SlideView: React.FC<SlideViewProps> = ({ url, nextURL }) => {
                 />
                 <img
                     src={url}
+                    decoding="sync"
                     style={{
                         maxWidth: "100%",
                         maxHeight: "100%",