diff --git a/src/app/window-handler.ts b/src/app/window-handler.ts index 1106f5ef..c50dc69a 100644 --- a/src/app/window-handler.ts +++ b/src/app/window-handler.ts @@ -1172,9 +1172,7 @@ export class WindowHandler { // Snipping tool height shouldn't be greater than min of screen width and height (screen orientation can be portrait or landscape) const minSize = Math.min(workAreaSize.width, workAreaSize.height); const maxToolHeight = Math.floor(calculatePercentage(minSize, 90)); - const maxToolWidth = Math.floor( - calculatePercentage(workAreaSize.width, 90), - ); + const maxToolWidth = Math.floor(calculatePercentage(minSize, 90)); const availableAnnotateAreaHeight = maxToolHeight - BUTTON_BARS_HEIGHT; const availableAnnotateAreaWidth = maxToolWidth; const scaleFactor = display.scaleFactor;