diff --git a/src/components/colorPicker/Area/Hue/index.vue b/src/components/colorPicker/Area/Hue/index.vue index 3a1925e..32f0e66 100644 --- a/src/components/colorPicker/Area/Hue/index.vue +++ b/src/components/colorPicker/Area/Hue/index.vue @@ -1,75 +1,81 @@ diff --git a/src/components/colorPicker/Area/Picker/index.vue b/src/components/colorPicker/Area/Picker/index.vue index f7f7a53..042ca53 100644 --- a/src/components/colorPicker/Area/Picker/index.vue +++ b/src/components/colorPicker/Area/Picker/index.vue @@ -1,93 +1,100 @@ diff --git a/src/components/colorPicker/Area/index.vue b/src/components/colorPicker/Area/index.vue index dc98329..2fcba01 100644 --- a/src/components/colorPicker/Area/index.vue +++ b/src/components/colorPicker/Area/index.vue @@ -24,7 +24,7 @@ :update-color="updateColor" /> -
+
diff --git a/src/components/colorPicker/Gradient/index.vue b/src/components/colorPicker/Gradient/index.vue index bde9f7d..9a8b95e 100644 --- a/src/components/colorPicker/Gradient/index.vue +++ b/src/components/colorPicker/Gradient/index.vue @@ -1,362 +1,373 @@ - diff --git a/src/utils/color/color.ts b/src/utils/color/color.ts index 1a561cb..54b12ca 100644 --- a/src/utils/color/color.ts +++ b/src/utils/color/color.ts @@ -399,6 +399,7 @@ export class Color { } static hex2color(hex: string, a: number) { + console.log('in it') const color = tinyColor(hex); color.setAlpha(a); return color.toHexString(); diff --git a/src/views/Editor/layouts/panel/rightPanel/attrs/canvasAttr.vue b/src/views/Editor/layouts/panel/rightPanel/attrs/canvasAttr.vue index 531c863..5aacfbb 100644 --- a/src/views/Editor/layouts/panel/rightPanel/attrs/canvasAttr.vue +++ b/src/views/Editor/layouts/panel/rightPanel/attrs/canvasAttr.vue @@ -1,138 +1,139 @@