Skip to content

Added clear color history button and gradient mixer to digital mixer

Added clear color history button and functionality to the color history on the color selector docker. Added a two color gradient mixer to the digital mixer allowing a gradient to mixed by selecting two arbitrary colors. This feature was requested by Kurin on the bug tracker BUG:363315

Test Plan

Advanced Color Selector

  1. Build this version
  2. Run Krita
  3. Open/Create document.
  4. Paint colors to fill color history
  5. Press the cancel/clear button on the Advanced Color Selector to clear the history

INTENDED OPERATION: Clears the history of color selector.

Digital Color Mixer

  1. Have the Digital Colors Mixer docker open
  2. Select two colors with the bottom gradient mixer
  3. Adjust the gradient color
  4. Click on the color swatch to select that color.
  5. Use with preferred brush.

INTENDED OPERATION: Color selected is used as color for the tool.

Formalities Checklist

  • I confirmed this builds.
  • I confirmed Krita ran and the relevant functions work.
  • I tested the relevant unit tests and can confirm they are not broken. (If not possible, don't hesitate to ask for help!)
  • I made sure my commits build individually and have good descriptions as per KDE guidelines.
  • I made sure my code conforms to the standards set in the HACKING file.
  • I can confirm the code is licensed and attributed appropriately, and that unattributed code is mine, as per KDE Licensing Policy.

This is my first merge request to Krita so apologies if I got something wrong.

Merge request reports

Loading