mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-15 17:09:59 +00:00
fixed #4457
This commit is contained in:
parent
767f9f3215
commit
be3bae3a6f
@ -44,8 +44,12 @@ export class AppearanceSettingsTabComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fixFontSize () {
|
fixFontSize () {
|
||||||
if (this.config.store.terminal.fontSize > 100) {
|
this.config.store.terminal.fontSize = Math.min(
|
||||||
this.config.store.terminal.fontSize = 12
|
50,
|
||||||
}
|
Math.max(
|
||||||
|
5,
|
||||||
|
this.config.store.terminal.fontSize,
|
||||||
|
),
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user