Add comments

This commit is contained in:
grossmj 2022-08-23 23:58:21 +02:00
parent b66af49137
commit 22ef305e81

View File

@ -7,10 +7,10 @@ import { Injectable } from '@angular/core';
@Injectable() @Injectable()
export class QtDasharrayFixer { export class QtDasharrayFixer {
static MAPPING = { static MAPPING = {
'25, 25': '10, 2', '25, 25': '10, 2', // Dash
'5, 25': '4, 2', '5, 25': '4, 2', // Dot
'5, 25, 25': '5, 5, 1, 5', '5, 25, 25': '5, 5, 1, 5', // Dash Dot
'25, 25, 5, 25, 5': '5, 2, 5, 2, 5', '25, 25, 5, 25, 5': '5, 2, 5, 2, 5', // Dash Dot Dot
}; };
public fix(dasharray: string): string { public fix(dasharray: string): string {