diff --git a/src/style_manager/index.js b/src/style_manager/index.js index e97103d73..6ae19c927 100644 --- a/src/style_manager/index.js +++ b/src/style_manager/index.js @@ -74,17 +74,21 @@ module.exports = () => { var ppfx = c.pStylePrefix; if (ppfx) c.stylePrefix = ppfx + c.stylePrefix; - properties = new Properties(); - sectors = new Sectors(c.sectors, c); + sectors = new Sectors([], c); SectView = new SectorsView({ collection: sectors, target: c.em, config: c }); + return this; }, + onLoad() { + sectors.add(c.sectors); + }, + postRender() { const elTo = this.getConfig().appendTo;