add todos
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
/**
|
/**
|
||||||
* An enum that presents all custom property keys
|
* An enum that presents all custom property keys
|
||||||
|
*
|
||||||
|
* TODO
|
||||||
|
* - add descriptions
|
||||||
*/
|
*/
|
||||||
export enum CustomProperties {
|
export enum CustomProperties {
|
||||||
DEFAULT_COLOR_STROKE = 'default-style-stroke',
|
DEFAULT_COLOR_STROKE = 'default-style-stroke',
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ export class CustomColorEntryComponent implements OnInit{
|
|||||||
return this._selectedColor;
|
return this._selectedColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO diese funktionen in definePreviewStyles direkt aufrufen
|
||||||
// - default color properties
|
// - default color properties
|
||||||
get defaultStrokeColorAsRgba(): string {
|
get defaultStrokeColorAsRgba(): string {
|
||||||
const color = this.colors[CustomProperties.DEFAULT_COLOR_STROKE];
|
const color = this.colors[CustomProperties.DEFAULT_COLOR_STROKE];
|
||||||
@@ -96,6 +97,9 @@ export class CustomColorEntryComponent implements OnInit{
|
|||||||
this.definePreviewStyle();
|
this.definePreviewStyle();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* TODO add description
|
||||||
|
*/
|
||||||
resetColor(){
|
resetColor(){
|
||||||
this.colors[CustomProperties.COLOR_STROKE] = null;
|
this.colors[CustomProperties.COLOR_STROKE] = null;
|
||||||
this.colors[CustomProperties.COLOR_FILL] = null;
|
this.colors[CustomProperties.COLOR_FILL] = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user