Fix gaining too much asc pts, reduce reputation gain in gangs.

This commit is contained in:
Olivier Gagnon
2021-06-18 16:53:42 -04:00
parent 8a78ee4cf6
commit 99263309ba
6 changed files with 30 additions and 10 deletions
+12
View File
@@ -62,6 +62,9 @@ interface ICreateElementStyleOptions {
visibility?: string;
whiteSpace?: string;
width?: string;
height?: string;
top?: string;
left?: string;
}
/**
@@ -210,6 +213,15 @@ function setElementStyle(el: HTMLElement, params: ICreateElementStyleOptions): v
if (params.width !== undefined) {
el.style.width = params.width;
}
if (params.height !== undefined) {
el.style.height = params.height;
}
if (params.top !== undefined) {
el.style.top = params.top;
}
if (params.left !== undefined) {
el.style.left = params.left;
}
if (params.backgroundColor !== undefined) {
el.style.backgroundColor = params.backgroundColor;
}