1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-09-19 17:07:08 +03:00
This commit is contained in:
Eugene Pankov 2022-01-31 22:16:05 +01:00
parent 767f9f3215
commit be3bae3a6f
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -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,
),
)
}
}