mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-18 22:48:41 -09:00
parent
d0f03f52e5
commit
90e8c1a766
1 changed files with 2 additions and 1 deletions
|
|
@ -70,7 +70,8 @@ export function decreaseFontSize() {
|
|||
effect() {
|
||||
const state = getState();
|
||||
const old = state.ui.fontSizeOverride || state.ui.fontSize;
|
||||
const value = old - 1;
|
||||
// when the font-size is really small, below 5px, xterm starts showing up issues.
|
||||
const value = old > 5 ? old - 1 : old;
|
||||
dispatch({
|
||||
type: UI_FONT_SIZE_SET,
|
||||
value
|
||||
|
|
|
|||
Loading…
Reference in a new issue