Skip to content

v4.3.0

Choose a tag to compare

@kdzwinel kdzwinel released this 23 Aug 15:34
· 13 commits to master since this release
4a1e9af

Fixes

  • Project dependency updates by @burakukula
  • Absolutely positioned nodes are now correctly sorted by their z-index (by @jostermanAtPEW)

API Improvements

const doc = new Document();
const boxNode = document.querySelector('box');
const boxLayer = nodeToSketchLayers(boxNode)[0];

boxLayer.setName('Box');
doc.addLayerStyle(boxLayer); // 🆕 
  • when using asketch2sketch directly, you can now specify not to clear the page and shared styles (by @KimDal-hyeong)