viewer: add zoom will-change

cap
Varun Patil 2022-12-02 08:44:28 -08:00
parent 324a4a4419
commit 45a9fcbfd2
1 changed files with 2 additions and 0 deletions

View File

@ -1105,10 +1105,12 @@ export default class Viewer extends Mixins(GlobalMixin) {
.pswp__zoom-wrap {
width: 100%;
will-change: transform;
}
img.pswp__img {
object-fit: contain;
will-change: width, height;
}
.pswp__button {