mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-24 00:56:06 +00:00
fixed #4457
This commit is contained in:
@@ -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,
|
||||
),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user