feat(ui): bbox has black and white outline

This commit is contained in:
psychedelicious
2024-09-13 21:35:12 +10:00
parent 818a7a01cc
commit dc2ed2f1c1

View File

@@ -75,14 +75,18 @@ export class CanvasBboxModule extends CanvasModuleBase {
proxyRect: new Konva.Rect({
name: `${this.type}:rect`,
listening: false,
strokeEnabled: false,
strokeEnabled: true,
draggable: true,
stroke: 'rgb(42,42,42)',
strokeWidth: 1,
strokeScaleEnabled: false,
}),
transformer: new Konva.Transformer({
name: `${this.type}:transformer`,
borderDash: [5, 5],
borderStroke: 'rgba(212,216,234,1)',
borderEnabled: true,
borderStrokeWidth: 1,
rotateEnabled: false,
keepRatio: false,
ignoreStroke: true,