Merge pull request #130 from johanjeppsson/mnt

Use active stroke/fill/text settings for shapes and notes
This commit is contained in:
mntmn
2020-11-21 16:56:03 +01:00
committed by GitHub
2 changed files with 6 additions and 5 deletions

View File

@@ -1723,10 +1723,10 @@ var SpacedeckSections = {
z: point.z,
w: w,
h: h,
stroke_color: "#ffffff",
text_color: "#ffffff",
stroke_color: this.active_style.stroke_color,
text_color: this.active_style.text_color,
stroke: 0,
fill_color: "#000000",
fill_color: this.active_style.fill_color,
shape: shape_type,
valign: "middle",
align: "center",

View File

@@ -549,8 +549,9 @@ function setup_whiteboard_directives() {
h: note_h,
align: "center",
valign: "middle",
stroke_color: "#000000",
fill_color: "rgb(241, 196, 15)",
stroke_color: $scope.active_style.stroke_color,
text_color: $scope.active_style.text_color,
fill_color: $scope.active_style.fill_color,
stroke: 0,
padding_left: 10,
padding_right: 10,