fix: Error when a zoomable element is removed during zoom initialization (#2624)
- Closes: #2410
This commit is contained in:
@@ -655,6 +655,9 @@ describe('ZoomController', () => {
|
||||
|
||||
controller.activate();
|
||||
expect(controller.isActivated()).toBe(true);
|
||||
|
||||
controller.deactivate();
|
||||
expect(controller.isActivated()).toBe(false);
|
||||
});
|
||||
|
||||
it('should not zoom or pan when zoom is disabled', () => {
|
||||
|
||||
Reference in New Issue
Block a user