Skip to content
Snippets Groups Projects
Commit 711ec8ed authored by rhenck's avatar rhenck
Browse files

Remove hidden option from frame border styles

This complicates styling and is somewhat useless as the border can also 
be removed by setting the border-width to 0.
parent 27b284c7
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ import { initPositionedElement, initSurfaceElement } from '../../util/unit-inter
export class FrameElement extends UIElement implements PositionedElement, SurfaceElement {
borderWidth: number = 1;
borderColor: string = 'black';
borderStyle: 'hidden' | 'solid' | 'dotted' | 'dashed' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset' = 'solid';
borderStyle: 'solid' | 'dotted' | 'dashed' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset' = 'solid';
borderRadius: number = 0;
positionProps: PositionProperties;
......
......@@ -549,7 +549,7 @@
<mat-label>{{'propertiesPanel.borderStyle' | translate }}</mat-label>
<mat-select [value]="combinedProperties.borderStyle"
(selectionChange)="updateModel.emit({ property: 'borderStyle', value: $event.value })">
<mat-option *ngFor="let option of ['hidden', 'solid', 'dotted', 'dashed',
<mat-option *ngFor="let option of ['solid', 'dotted', 'dashed',
'double', 'groove', 'ridge', 'inset', 'outset']"
[value]="option">
{{option}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment