Skip to content

Commit

Permalink
fix: update main
Browse files Browse the repository at this point in the history
  • Loading branch information
NiclasNorin committed Mar 3, 2025
1 parent 6d674b9 commit 950cabf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion source/js/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ import ImageOverlayFactory from './options/createImageOverlay/imageOverlayFactor
import EditImageOverlayFactory from './options/createImageOverlay/edit/editImageOverlayDataFactory';
import Image from './edit/fields/image';
import ImageOverlaysList from './options/createImageOverlay/imageOverlaysList';
import ImageOverlayResize from './options/createImageOverlay/imageFunctionality/imageOverlayResize';
import ImageOverlayBoundsAndRatioCalculator from './options/createImageOverlay/helper/imageOverlayBoundsAndRatioCalculator';

declare const acf: any;

Expand Down Expand Up @@ -130,8 +132,11 @@ class Main {
mapInstance,
createImageOverlayInstance,
createRectangleInstance,
createMarkerInstance,
editImageOverlayFactoryInstance,
new ImageOverlaysList(container)
new ImageOverlaysList(container),
new ImageOverlayBoundsAndRatioCalculator(),
new ImageOverlayResize(mapInstance, createMarkerInstance)
);

// Main
Expand Down

0 comments on commit 950cabf

Please sign in to comment.