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

Bug: Copying a color pattern is not a deep copy #194

Open
Waboodoo opened this issue Feb 15, 2023 · 1 comment
Open

Bug: Copying a color pattern is not a deep copy #194

Waboodoo opened this issue Feb 15, 2023 · 1 comment

Comments

@Waboodoo
Copy link

Steps to Reproduce

  1. Find any color pattern in the UI
  2. Click the Dropdown button on the right
  3. Select "Copy pattern"
  4. On the copy, click the Dropdown button again
  5. Select "Edit pattern"
  6. Select any of the pattern's colors and change it

Expected Result

Only the selected color in the pattern being edited is changed

Actual Result

The selected pattern is changed, but also the original pattern from which it was copied. Even when that pattern is locked.

It seems that the copy is only a shallow copy, still sharing some parts with its original pattern.

@todbot
Copy link
Owner

todbot commented Feb 15, 2023

Yikes. Thank you for the detailed report. I'm looking into it now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants