mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-09 06:20:22 +08:00
fixed #4457
This commit is contained in:
parent
767f9f3215
commit
be3bae3a6f
@ -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 New Issue
Block a user