Skip to content

[iDVBUG] unwanted behaviour of copied shapes in shape paint mode #445

Description

@Michaelazzz

Describe the bug
Copied shapes in the shape paint mode display the unwanted behaviour of mimicking the changes made to the original shape.
This is caused by a shallow copy in the applyMask function in ShapesManager.cs

To Reproduce
Steps to reproduce the behavior:

  1. Go to Paint Shape mode
  2. Add shape
  3. Copy shape
  4. Attempt to change the size or position of the shape
  5. See error where the changes to one shape occurs across all the copied shapes
    Expected behavior
    Once a shape is copied it must able to manipulated independent of the original or other copied shapes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions