Closed blu94 closed 4 years ago
How to center the content after pan or zoom, or how to reset the component?
Take a look at the transformOrigin option. Example: transformOrigin: {x: 0.5, y: 0.5}
transformOrigin: {x: 0.5, y: 0.5}
How to center the content after pan or zoom, or how to reset the component?