Skip to content

Preview Support Should Use Renderer for Preview #816

@philippfromme

Description

@philippfromme

The PreviewSupport feature clones an SVG and then applies fill and stroke on all of its elements. This leads to rendering errors like:

image

A better way of rendering the preview would be to render the element using the renderer but with custom colors:

graphicsFactory.drawShape(getVisual(gfx), element, {
  fill: 'red',
  stroke: 'green'
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogQueued in backlogenhancementNew feature or requestspring cleaningCould be cleaned up one day

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions