diff options
author | bobzel <zzzman@gmail.com> | 2024-10-04 21:35:22 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-10-04 21:35:22 -0400 |
commit | 9323ad30103b474e95610e97eb92916a0cf71f7b (patch) | |
tree | 72f20d339139018bde242121eaba16e9e939c93b /src/ClientUtils.ts | |
parent | 2e883e481fa2064983bcd16425118c1abb55cedb (diff) |
more lint fixes to schema view changes.
Diffstat (limited to 'src/ClientUtils.ts')
-rw-r--r-- | src/ClientUtils.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ClientUtils.ts b/src/ClientUtils.ts index 8ecbc55bf..3066499d8 100644 --- a/src/ClientUtils.ts +++ b/src/ClientUtils.ts @@ -317,7 +317,7 @@ export namespace ClientUtils { } export function lightenRGB(rVal: number, gVal: number, bVal: number, percent: number): [number, number, number] { - const amount = 1 + percent/100; + const amount = 1 + percent / 100; const r = rVal * amount; const g = gVal * amount; const b = bVal * amount; @@ -347,8 +347,6 @@ export namespace ClientUtils { return undefined; } - - export function GetClipboardText(): string { const textArea = document.createElement('textarea'); document.body.appendChild(textArea); @@ -725,7 +723,6 @@ export function UpdateIcon( const newDiv = docViewContent.cloneNode(true) as HTMLDivElement; newDiv.style.width = width.toString(); newDiv.style.height = height.toString(); - console.log('width: ' + newDiv.style.width) replaceCanvases(docViewContent, newDiv); const htmlString = new XMLSerializer().serializeToString(newDiv); const nativeWidth = width; |