Skip to content

* Fixed Clearing State of Primary Color Asset#341

Merged
jrconway3 merged 1 commit intoLiberatedPixelCup:paint-in-place-masterfrom
jrconway3:bugfix/cannot-deselect-recolor-asset
Mar 9, 2026
Merged

* Fixed Clearing State of Primary Color Asset#341
jrconway3 merged 1 commit intoLiberatedPixelCup:paint-in-place-masterfrom
jrconway3:bugfix/cannot-deselect-recolor-asset

Conversation

@jrconway3
Copy link
Contributor

Fixed this:
image

From paint-in-place-master:
#284 (comment)

Example:
image

Copilot AI review requested due to automatic review settings March 9, 2026 16:47
@jrconway3 jrconway3 added the bug Something isn't working label Mar 9, 2026
@netlify
Copy link

netlify bot commented Mar 9, 2026

Deploy Preview for liberatedpixelcup ready!

Name Link
🔨 Latest commit 756eeaf
🔍 Latest deploy log https://app.netlify.com/projects/liberatedpixelcup/deploys/69aef9b5c24ca00008d6b81d
😎 Deploy Preview https://deploy-preview-341--liberatedpixelcup.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@jrconway3 jrconway3 merged commit 98fbc49 into LiberatedPixelCup:paint-in-place-master Mar 9, 2026
8 of 9 checks passed
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts how palette recolor selections are grouped when selecting a color, with the goal of preventing the “primary color” selection state from being cleared unexpectedly during palette interactions.

Changes:

  • Updates the selection-group key used when determining whether a palette option is already selected.
  • Removes an explicit m.redraw() call after recolor selection (relying on Mithril’s event redraw behavior).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants