Skip to content

Commit d0abe16

Browse files
committed
2.6.5
Supported v45
1 parent a4c9b8e commit d0abe16

File tree

6 files changed

+8
-9
lines changed

6 files changed

+8
-9
lines changed

Sketch Measure.sketchplugin/Contents/Sketch/library/common.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1620,12 +1620,11 @@ SM.extend({
16201620
}
16211621
break;
16221622
case "shadow":
1623-
if(targetStyle.shadow() || (targetStyle.shadow() && targetStyle.shadow().isEnabled()) ){
1624-
content.push("shadow: outer\r\n" + self.shadowContent(targetStyle.shadow()));
1623+
if( targetStyle.firstEnabledShadow() ){
1624+
content.push("shadow: outer\r\n" + self.shadowContent(targetStyle.firstEnabledShadow()));
16251625
}
1626-
1627-
if(targetStyle.innerShadow() || (targetStyle.innerShadow() && targetStyle.innerShadow().isEnabled()) ){
1628-
content.push("shadow: inner\r\n" + self.shadowContent(targetStyle.innerShadow()));
1626+
if( targetStyle.enabledInnerShadows().firstObject() ){
1627+
content.push("shadow: inner\r\n" + self.shadowContent(targetStyle.enabledInnerShadows().firstObject()));
16291628
}
16301629
break;
16311630
case "font-size":

Sketch Measure.sketchplugin/Contents/Sketch/library/i18n/manifest-en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
"identifier": "com.utom.measure",
178178
"appcast": "https://api.sketchpacks.com/v1/plugins/com.utom.measure/appcast",
179179
"homepage": "http://utom.design/measure/",
180-
"version": "2.6.4",
180+
"version": "2.6.5",
181181
"description" : "Make it a fun to create spec for developers and teammates",
182182
"authorEmail" : "[email protected]",
183183
"name" : "Sketch Measure"

Sketch Measure.sketchplugin/Contents/Sketch/library/i18n/manifest-zh-Hans.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
"identifier": "com.utom.measure",
181181
"appcast": "https://api.sketchpacks.com/v1/plugins/com.utom.measure/appcast",
182182
"homepage": "http://utom.design/measure/",
183-
"version": "2.6.4",
183+
"version": "2.6.5",
184184
"description" : "Make it a fun to create spec for developers and teammates",
185185
"authorEmail" : "[email protected]",
186186
"name" : "Sketch Measure"

Sketch Measure.sketchplugin/Contents/Sketch/library/i18n/manifest-zh-Hant.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
"identifier": "com.utom.measure",
181181
"appcast": "https://api.sketchpacks.com/v1/plugins/com.utom.measure/appcast",
182182
"homepage": "http://utom.design/measure/",
183-
"version": "2.6.4",
183+
"version": "2.6.5",
184184
"description" : "Make it a fun to create spec for developers and teammates",
185185
"authorEmail" : "[email protected]",
186186
"name" : "Sketch Measure"

Sketch Measure.sketchplugin/Contents/Sketch/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
"identifier": "com.utom.measure",
178178
"appcast": "https://api.sketchpacks.com/v1/plugins/com.utom.measure/appcast",
179179
"homepage": "http://utom.design/measure/",
180-
"version": "2.6.4",
180+
"version": "2.6.5",
181181
"description" : "Make it a fun to create spec for developers and teammates",
182182
"authorEmail" : "[email protected]",
183183
"name" : "Sketch Measure"

0 commit comments

Comments
 (0)