mirror of
https://github.com/Eugeny/tabby
synced 2024-11-15 01:17:14 +00:00
fixed #4457
This commit is contained in:
parent
767f9f3215
commit
be3bae3a6f
1 changed files with 7 additions and 3 deletions
|
@ -44,8 +44,12 @@ export class AppearanceSettingsTabComponent {
|
|||
}
|
||||
|
||||
fixFontSize () {
|
||||
if (this.config.store.terminal.fontSize > 100) {
|
||||
this.config.store.terminal.fontSize = 12
|
||||
}
|
||||
this.config.store.terminal.fontSize = Math.min(
|
||||
50,
|
||||
Math.max(
|
||||
5,
|
||||
this.config.store.terminal.fontSize,
|
||||
),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue