replace deprecated syntax

This commit is contained in:
mike-000
2021-12-20 15:50:01 +00:00
committed by GitHub
parent e5a32f533e
commit abdb313ad7

View File

@@ -18,9 +18,10 @@ const closer = document.getElementById('popup-closer');
*/ */
const overlay = new Overlay({ const overlay = new Overlay({
element: container, element: container,
autoPan: true, autoPan: {
autoPanAnimation: { animation: {
duration: 250, duration: 250,
},
}, },
}); });