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