forked from MapComplete/MapComplete
Add presets to custom theme generator, fix simpleAddUI
This commit is contained in:
parent
9a420efa98
commit
3d05999f85
10 changed files with 90 additions and 36 deletions
3
Utils.ts
3
Utils.ts
|
@ -56,6 +56,9 @@ export class Utils {
|
|||
}
|
||||
|
||||
public static EllipsesAfter(str : string, l : number = 100){
|
||||
if(str === undefined){
|
||||
return undefined;
|
||||
}
|
||||
if(str.length <= l){
|
||||
return str;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue