mirror of
https://github.com/spacedeck/spacedeck-open.git
synced 2025-12-16 01:47:30 +01:00
arrow/scribble: default to active_style's stroke color
This commit is contained in:
@@ -576,8 +576,7 @@ function setup_whiteboard_directives() {
|
|||||||
z: z,
|
z: z,
|
||||||
w: 64,
|
w: 64,
|
||||||
h: 64,
|
h: 64,
|
||||||
// Set the color to the last selected color, fallback to black if no color was selected
|
stroke_color: $scope.active_style.stroke_color,
|
||||||
stroke_color: "#" + $scope.color_picker_rgb || "#000000",
|
|
||||||
stroke: 2,
|
stroke: 2,
|
||||||
shape: "scribble"
|
shape: "scribble"
|
||||||
};
|
};
|
||||||
@@ -613,8 +612,7 @@ function setup_whiteboard_directives() {
|
|||||||
z: z,
|
z: z,
|
||||||
w: 64,
|
w: 64,
|
||||||
h: 64,
|
h: 64,
|
||||||
// Set the color to the last selected color, fallback to black if no color was selected
|
stroke_color: $scope.active_style.stroke_color,
|
||||||
stroke_color: "#" + $scope.color_picker_rgb || "#000000",
|
|
||||||
stroke: 2,
|
stroke: 2,
|
||||||
shape: "arrow"
|
shape: "arrow"
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user