Comments (12)
P.S. your plugin is by far the most useful Sketch plugin in existence. Thank you so much for developing it:)
from sketch-measure.
I'll second what @allmakebelieve. We're daily users of sketch-measure. I'll take a look right now as well.
from sketch-measure.
Thanks @davidklaw! Pls let me know if you have any luck :) Should have known better than to use a beta on production work haha..
from sketch-measure.
@allmakebelieve I've found the problem but not the solution :)
These shape layers do not contain the "style" value (fills, borders, etc) as they had previously. When it's building out the label it sets the text color, which works just fine because it's handled differently, and then pulls the layer styles to add a new fill style. This fails because there are no styles. You can see this happening by looking at it in the UI - you can't add a fill or border.
from sketch-measure.
I'm at a standstill. Since "style" is no longer an available property I'm not sure how to add or modify the fill.
from sketch-measure.
Yep~ I'm not sure how to fix in 3.2 beta
from sketch-measure.
layer = [layer embedInShapeGroup];
will add the style
property. Tested and confirmed to be working for 3.2 but I haven't checked for backwards compatibility yet - it's late here 🌃 Will try to put in a PR tomorrow unless someone beats me to the punch.
from sketch-measure.
@davidklaw awesome find. thanks for looking into it.
from sketch-measure.
@davidklaw did you have any luck in the end? Sorry to bug you - just have a project this'd be really handy for if you had any luck fixing it. Thanks so much.
from sketch-measure.
@allmakebelieve Oh, yes. I should have been more specific. Until a fix is committed go to common.js and add this line inside the else if (isShape(layer)) {
line around 80.
layer = [layer embedInShapeGroup];
from sketch-measure.
@allmakebelieve Apparently I wasn't telling the entire story but you can dig around in this fairly straightforward PR. It should fix the problem in the App Store and Beta versions.
from sketch-measure.
Thank you so much, I had fix it. How did you know this?
from sketch-measure.
Related Issues (20)
- No working in sketch 69.2 HOT 4
- Version 70.2 Sketch measure can not load out HOT 2
- This plugin can not be used after the apple system upgrade HOT 3
- comment doesn't work HOT 1
- Version sketch 69 can not export HTML HOT 3
- sketch-measure is not compatible to m1 MacBook (ARM architecture) HOT 2
- Sketch App wants me to move it to trash HOT 2
- This plugin needs to be updated
- Toolbar 2.0 label not working
- Sketch Measure not working with Sketch 72 HOT 5
- sketch-measure can't work in the latest sketch version
- Sketch measure no longer works HOT 5
- 版本适配问题 HOT 1
- How to use sketchtool run this plugin?
- Sketch Measure Does nothing when Spec Export is clicked. HOT 1
- Please make it work on New Sketch Version!! HOT 2
- Sketch measure toolbars not showing in sketch 75 HOT 2
- sketch measure plugin not functioning HOT 4
- Can't find the 'percentage for spacing/size' in the new version HOT 1
- Not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sketch-measure.