diff --git a/Sketch Measure.sketchplugin/Contents/Sketch/library/common.js b/Sketch Measure.sketchplugin/Contents/Sketch/library/common.js index 533e37d..dd61081 100755 --- a/Sketch Measure.sketchplugin/Contents/Sketch/library/common.js +++ b/Sketch Measure.sketchplugin/Contents/Sketch/library/common.js @@ -3107,13 +3107,18 @@ SM.extend({ layerStates = this.getStates(layer); if(layer && this.is(layer, MSLayerGroup) && /NOTE\#/.exec(layer.name())){ - var textLayer = layer.children()[2]; - - data.notes.push({ - rect: this.rectToJSON(textLayer.absoluteRect(), artboardRect), - note: this.toHTMLEncode(this.emojiToEntities(textLayer.stringValue())).replace(/\n/g, "
") - }); - layer.setIsVisible(false); + //fix the note stuck issue on Sketch 60+ + for(let i=0; i") + }); + layer.setIsVisible(false); + break; + } + } } if ( diff --git a/appcast.xml b/appcast.xml index aec8cf2..bb00f09 100644 --- a/appcast.xml +++ b/appcast.xml @@ -10,7 +10,7 @@ -
  • Support Sketch v52
  • +
  • Support Sketch v62
  • ]]>