From a81771b27dcaa839d278aedd76b4e66cb407b285 Mon Sep 17 00:00:00 2001 From: Mike Date: Wed, 20 Jul 2016 11:08:54 -0600 Subject: [PATCH] Fix prop update logic for fontSmoothing (#302) --- app/lib/components/term.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/components/term.js b/app/lib/components/term.js index dadc7754..aba01e68 100644 --- a/app/lib/components/term.js +++ b/app/lib/components/term.js @@ -177,7 +177,7 @@ export default class Term extends Component { } if (this.props.fontSmoothing !== nextProps.fontSmoothing) { - this.term.prefs_.set('font-smoothing', props.fontSmoothing); + this.term.prefs_.set('font-smoothing', nextProps.fontSmoothing); } if (this.props.cursorColor !== nextProps.cursorColor) {