Add getScaledValueto both
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Willem Dantuma 2020-04-07 10:22:27 +02:00
parent 490cd92707
commit 1532e141b9

View File

@ -12,6 +12,14 @@ export abstract class AbstractItemListItemComponent {
constructor(public store: Store<mapReducers.State | commonReducers.State>, public itemTypeService: ItemTypeService) {
}
getScaledValue(value:number,scale:number = 0):number {
let v = value;
if(scale && scale != 0) {
v=scale*value;
}
return v;
}
}
@Injectable()