Skip to content

Problems caused when toggling between 'fresh input' and 'saved colors' #4

Description

@rileyskains

This is being created to address the problem raised in the comments on issue #2.

When user accesses 'Saved Colors', selects a palette, toggles back to 'Fresh Input', goes back to 'Saved Colors', and then back to 'Fresh Input', the extract button displays.

If that button is clicked, it causes the colors to be run through the extract() function again, which duplicates the colors in the color-container section.

Currently, toggling and extracting and button displaying is controlled with the nasty/hacky usefulBoolean and usefulBoolean2 values being set to true or false depending on which functions run and then use if statements to determine if other code should run.

I suppose the necessity for a more elegant system for toggling is what is really being desired here.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions