From 6971b7ea27967a2728cbb73be1fa6f65a9f93f9a Mon Sep 17 00:00:00 2001 From: Kiran Niranjan Date: Thu, 14 Dec 2023 13:41:48 +0530 Subject: [PATCH] SDA-4419 - Fix maximize and unmaximize button height (#2033) --- spec/__snapshots__/windowsTitleBar.spec.ts.snap | 2 +- src/renderer/components/windows-title-bar.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/__snapshots__/windowsTitleBar.spec.ts.snap b/spec/__snapshots__/windowsTitleBar.spec.ts.snap index 8c56d31a..b6b95e99 100644 --- a/spec/__snapshots__/windowsTitleBar.spec.ts.snap +++ b/spec/__snapshots__/windowsTitleBar.spec.ts.snap @@ -117,7 +117,7 @@ exports[`windows title bar should render correctly 1`] = ` title="Maximize" > diff --git a/src/renderer/components/windows-title-bar.tsx b/src/renderer/components/windows-title-bar.tsx index fbb92db9..ff54e037 100644 --- a/src/renderer/components/windows-title-bar.tsx +++ b/src/renderer/components/windows-title-bar.tsx @@ -173,7 +173,7 @@ export default class WindowsTitleBar extends React.Component<{}, IState> { onContextMenu={this.eventHandlers.onDisableContextMenu} onMouseDown={this.handleMouseDown} > - + { onContextMenu={this.eventHandlers.onDisableContextMenu} onMouseDown={this.handleMouseDown} > - +