Skip to content
New issue

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

SVG编辑异常 #190

Open
sparrowhe opened this issue Sep 10, 2022 · 0 comments
Open

SVG编辑异常 #190

sparrowhe opened this issue Sep 10, 2022 · 0 comments
Assignees
Labels
bug Something isn't working priority: 2 It's necessary but has little impact on current

Comments

@sparrowhe
Copy link
Contributor

描述一下bug

问题作品:https://codingclip.com/editor/858

修改两个以上渐变效果,撤回操作,100%复现

0C9{J{F~ZWDLG7XHL742}0B

Uncaught DOMException: Failed to execute 'addColorStop' on 'CanvasGradient': The provided value (116.371) is outside the range (0.0, 1.0).
    at Color.toCanvasStyle (https://codingclip.com/editor/canary/lib.min.js:15168:20)
    at Path._setStyles (https://codingclip.com/editor/canary/lib.min.js:7605:41)
    at Path._draw (https://codingclip.com/editor/canary/lib.min.js:12435:10)
    at Path.draw (https://codingclip.com/editor/canary/lib.min.js:7716:8)
    at Layer._draw (https://codingclip.com/editor/canary/lib.min.js:7938:10)
    at Layer.draw (https://codingclip.com/editor/canary/lib.min.js:7716:8)
    at Project.draw (https://codingclip.com/editor/canary/lib.min.js:6088:16)
    at CanvasView.update (https://codingclip.com/editor/canary/lib.min.js:16650:12)
    at Array.<anonymous> (https://codingclip.com/editor/canary/lib.min.js:15980:11)
    at handleCallbacks (https://codingclip.com/editor/canary/lib.min.js:15813:16)
    at sentryWrapped (https://codingclip.com/editor/canary/chunks/gui.js:628:23)

请叙述bug触发步骤

default.mp4

预期的行为

正常编辑

截图或视频

ClipCC版本

canary&community,应该影响全部

附加内容

@sparrowhe sparrowhe added bug Something isn't working priority: 2 It's necessary but has little impact on current labels Sep 10, 2022
@sparrowhe sparrowhe self-assigned this Sep 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: 2 It's necessary but has little impact on current
Projects
None yet
Development

No branches or pull requests

1 participant