Skip to content

Commit

Permalink
fixed bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
utom committed Mar 2, 2018
1 parent 696839c commit 123abd4
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2896,7 +2896,7 @@ SM.extend({
var artboard = self.selectionArtboards[artboardIndex],
page = artboard.parentGroup(),
layer = artboard.children()[layerIndex];
// log( page.name() + ' - ' + artboard.name() + ' - ' + layer.name());
log( page.name() + ' - ' + artboard.name() + ' - ' + layer.name());
try {
self.getLayer(
artboard, // Sketch artboard element
Expand Down Expand Up @@ -3064,6 +3064,7 @@ SM.extend({

if(layer && this.is(layer, MSLayerGroup) && /NOTE\#/.exec(layer.name())){
var textLayer = layer.children()[3];
log(textLayer)
data.notes.push({
rect: this.rectToJSON(textLayer.absoluteRect(), artboardRect),
note: this.toHTMLEncode(this.emojiToEntities(textLayer.stringValue())).replace(/\n/g, "<br>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
"identifier": "com.utom.measure",
"appcast": "https://raw.githubusercontent.com/utom/sketch-measure/master/appcast.xml",
"homepage": "http://utom.design/measure/",
"version": "2.7.3",
"version": "2.7.4",
"description" : "Make it a fun to create spec for developers and teammates",
"authorEmail" : "utombox@gmail.com",
"name" : "Sketch Measure"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
"identifier": "com.utom.measure",
"appcast": "https://raw.githubusercontent.com/utom/sketch-measure/master/appcast.xml",
"homepage": "http://utom.design/measure/",
"version": "2.7.3",
"version": "2.7.4",
"description" : "Make it a fun to create spec for developers and teammates",
"authorEmail" : "utombox@gmail.com",
"name" : "Sketch Measure"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
"identifier": "com.utom.measure",
"appcast": "https://raw.githubusercontent.com/utom/sketch-measure/master/appcast.xml",
"homepage": "http://utom.design/measure/",
"version": "2.7.3",
"version": "2.7.4",
"description" : "Make it a fun to create spec for developers and teammates",
"authorEmail" : "utombox@gmail.com",
"name" : "Sketch Measure"
Expand Down
2 changes: 1 addition & 1 deletion Sketch Measure.sketchplugin/Contents/Sketch/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
"identifier": "com.utom.measure",
"appcast": "https://raw.githubusercontent.com/utom/sketch-measure/master/appcast.xml",
"homepage": "http://utom.design/measure/",
"version": "2.7.3",
"version": "2.7.4",
"description" : "Make it a fun to create spec for developers and teammates",
"authorEmail" : "utombox@gmail.com",
"name" : "Sketch Measure"
Expand Down
4 changes: 2 additions & 2 deletions appcast.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
<description>Make it a fun to create spec for developers and teammates</description>
<language>en</language>
<item>
<title>Version 2.7.3</title>
<title>Version 2.7.4</title>
<description>
<![CDATA[
<ul>
<li>Support Sketch v49</li>
</ul>
]]>
</description>
<enclosure url="https://github.com/utom/sketch-measure/archive/master.zip" sparkle:version="2.7.3" type="application/octet-stream" />
<enclosure url="https://github.com/utom/sketch-measure/archive/master.zip" sparkle:version="2.7.4" type="application/octet-stream" />
</item>
<item>
<title>Version 2.7</title>
Expand Down

0 comments on commit 123abd4

Please sign in to comment.