Add an in-viewport color picker to the Gradient tool when double-clicking a color stop (#3834)

* Hide batched blocked debug print messages

* Implement the color picker on double-clicking stops

* Code review
This commit is contained in:
Keavon Chambers
2026-02-25 21:03:12 -08:00
committed by GitHub
parent 82cf8eb369
commit e62771845f
10 changed files with 264 additions and 46 deletions
+10
View File
@@ -828,6 +828,15 @@ export class DisplayEditableTextboxTransform extends JsMessage {
export class DisplayRemoveEditableTextbox extends JsMessage {}
export class UpdateGradientStopColorPickerPosition extends JsMessage {
@Type(() => Color)
readonly color!: Color;
readonly x!: number;
readonly y!: number;
}
export class UpdateDocumentLayerDetails extends JsMessage {
@Type(() => LayerPanelEntry)
readonly data!: LayerPanelEntry;
@@ -1713,6 +1722,7 @@ export const messageMakers: Record<string, MessageMaker> = {
UpdateEyedropperSamplingState,
UpdateFullscreen,
UpdateGraphFadeArtwork,
UpdateGradientStopColorPickerPosition,
UpdateGraphViewOverlay,
UpdateImportReorderIndex,
UpdateImportsExports,