mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-13 02:01:51 +00:00
Fix linter error
This commit is contained in:
parent
4bfd423efb
commit
5c9cbcd8ad
@ -59,7 +59,7 @@ export class ModInterface {
|
||||
|
||||
registerCss(cssString) {
|
||||
// Preprocess css
|
||||
cssString = cssString.replace(/\$scaled\(([^\)]*)\)/gim, (substr, expression) => {
|
||||
cssString = cssString.replace(/\$scaled\(([^)]*)\)/gim, (substr, expression) => {
|
||||
return "calc((" + expression + ") * var(--ui-scale))";
|
||||
});
|
||||
const element = document.createElement("style");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user