Counteract zoom-level changes in custom titlebar
This commit is contained in:
parent
aa23c2def2
commit
635aab838f
6 changed files with 32 additions and 12 deletions
|
@ -171,6 +171,12 @@ export const TitleBarContainer = (props: PropsType): JSX.Element => {
|
|||
opacity: 0,
|
||||
},
|
||||
},
|
||||
|
||||
// Zoom support
|
||||
enableOverflow: false,
|
||||
scalingFunction(value: string) {
|
||||
return `calc(${value} * var(--zoom-factor))`;
|
||||
},
|
||||
};
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue