mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-29 19:48:11 +08:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user