We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
问题:sketch 55以上的版本,在使用这个包时,会报错。 代码描述:` sketch-to-html-master/util.js:99 if (path.points.length !== 4) {
} ` 看了下新版本的sketch在打印sketch导出的对象后,确实没有,path.points
` { _class: 'page', do_objectID: '016FAAC1-276E-4AD6-B80C-6CFBA4D6299B', booleanOperation: 0, isFixedToViewport: false, isFlippedHorizontal: false, isFlippedVertical: false, isLocked: false, isVisible: true, layerListExpandedType: 0, maintainScrollPosition: false, name: 'ooto Productivity Dashboards', nameIsFixed: true, resizingConstraint: 0, resizingType: 0, rotation: 0, shouldBreakMaskChain: false, exportOptions: { _class: 'exportOptions', includedLayerIds: [], layerOptions: 0, shouldTrim: false, exportFormats: [] }, frame: { _class: 'rect', constrainProportions: false, height: 300, width: 300, x: 0, y: 0 }, clippingMaskMode: 0, hasClippingMask: false, style: { _class: 'style', do_objectID: 'A2C84584-21E6-477A-8D77-DEA98F3318EF', endMarkerType: 0, miterLimit: 10, startMarkerType: 0, windingRule: 1, blur: { _class: 'blur', isEnabled: false, center: '{0.5, 0.5}', motionAngle: 0, radius: 10, saturation: 1, type: 0 }, borderOptions: { _class: 'borderOptions', isEnabled: true, dashPattern: [], lineCapStyle: 0, lineJoinStyle: 0 }, borders: [], colorControls: { _class: 'colorControls', isEnabled: false, brightness: 0, contrast: 1, hue: 0, saturation: 1 }, contextSettings: { _class: 'graphicsContextSettings', blendMode: 0, opacity: 1 }, fills: [], innerShadows: [], shadows: [] }, hasClickThrough: true}
` 部分json对象
The text was updated successfully, but these errors were encountered:
这个问题。有解决吗?
Sorry, something went wrong.
我也遇到了
No branches or pull requests
问题:sketch 55以上的版本,在使用这个包时,会报错。
代码描述:`
sketch-to-html-master/util.js:99
if (path.points.length !== 4) {
}
`
看了下新版本的sketch在打印sketch导出的对象后,确实没有,path.points
`
{ _class: 'page',
do_objectID: '016FAAC1-276E-4AD6-B80C-6CFBA4D6299B',
booleanOperation: 0,
isFixedToViewport: false,
isFlippedHorizontal: false,
isFlippedVertical: false,
isLocked: false,
isVisible: true,
layerListExpandedType: 0,
maintainScrollPosition: false,
name: 'ooto Productivity Dashboards',
nameIsFixed: true,
resizingConstraint: 0,
resizingType: 0,
rotation: 0,
shouldBreakMaskChain: false,
exportOptions:
{ _class: 'exportOptions',
includedLayerIds: [],
layerOptions: 0,
shouldTrim: false,
exportFormats: [] },
frame:
{ _class: 'rect',
constrainProportions: false,
height: 300,
width: 300,
x: 0,
y: 0 },
clippingMaskMode: 0,
hasClippingMask: false,
style:
{ _class: 'style',
do_objectID: 'A2C84584-21E6-477A-8D77-DEA98F3318EF',
endMarkerType: 0,
miterLimit: 10,
startMarkerType: 0,
windingRule: 1,
blur:
{ _class: 'blur',
isEnabled: false,
center: '{0.5, 0.5}',
motionAngle: 0,
radius: 10,
saturation: 1,
type: 0 },
borderOptions:
{ _class: 'borderOptions',
isEnabled: true,
dashPattern: [],
lineCapStyle: 0,
lineJoinStyle: 0 },
borders: [],
colorControls:
{ _class: 'colorControls',
isEnabled: false,
brightness: 0,
contrast: 1,
hue: 0,
saturation: 1 },
contextSettings:
{ _class: 'graphicsContextSettings', blendMode: 0, opacity: 1 },
fills: [],
innerShadows: [],
shadows: [] },
hasClickThrough: true}
`
部分json对象
The text was updated successfully, but these errors were encountered: