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,10 +18,11 @@ const closer = document.getElementById('popup-closer');
*/
const overlay = new Overlay({
element: container,
autoPan: true,
autoPanAnimation: {
autoPan: {
animation: {
duration: 250,
},
},
});
/**