From fb9eb208a22f241f56c4c03872a7b3f675e64c27 Mon Sep 17 00:00:00 2001 From: Jonathan Meyer <26874831+atmgrifter00@users.noreply.github.com> Date: Thu, 28 Mar 2024 11:19:44 -0500 Subject: [PATCH] Prettier/Linting --- packages/nimble-components/src/combobox/index.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/nimble-components/src/combobox/index.ts b/packages/nimble-components/src/combobox/index.ts index ea8a2349f8..a34c595853 100644 --- a/packages/nimble-components/src/combobox/index.ts +++ b/packages/nimble-components/src/combobox/index.ts @@ -272,12 +272,9 @@ export class Combobox ? this.positionAttribute : this.position; - // eslint-disable-next-line operator-linebreak - this.maxHeight = - // eslint-disable-next-line no-bitwise - this.position === SelectPosition.above - ? ~~currentBox.top - : ~~availableBottom; + this.maxHeight = this.position === SelectPosition.above + ? Math.trunc(currentBox.top) + : Math.trunc(availableBottom); } private get isAutocompleteInline(): boolean {