Skip to content

Commit a7d58f8

Browse files
committed
Fix stroke color in dark mode for shape tool
1 parent 249c36e commit a7d58f8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src-js/views-editor/src/edit-tools-shape.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@ registerVisualizationLayerDefinition({
229229
selectionFunc: glyphSelector("editing"),
230230
zIndex: 500,
231231
screenParameters: { strokeWidth: 1 },
232-
colors: { boxColor: "#FFFB", color: "#000" },
233-
colorsDarkMode: { boxColor: "#1118", color: "#FFF" },
232+
colors: { boxColor: "#FFFB", strokeColor: "#000" },
233+
colorsDarkMode: { boxColor: "#1118", strokeColor: "#FFF" },
234234
draw: (context, positionedGlyph, parameters, model, controller) => {
235235
const shape = model.shapeToolShapePath;
236236
if (!shape) {

0 commit comments

Comments
 (0)