fix(electron): drag window behavior in header

This commit is contained in:
himself65
2023-04-27 23:18:00 -05:00
parent 3a5a66a5a3
commit 9f8b38f9f3
9 changed files with 30 additions and 2 deletions
@@ -7,6 +7,7 @@ export const StyledSidebarSwitch = styled(IconButton, {
})<{ visible: boolean }>(({ visible }) => {
return {
opacity: visible ? 1 : 0,
WebkitAppRegion: 'no-drag',
transition: 'all 0.2s ease-in-out',
};
});