Fix prop update logic for fontSmoothing (#302)

This commit is contained in:
Mike 2016-07-20 11:08:54 -06:00 committed by Guillermo Rauch
parent a2363c52bd
commit a81771b27d

View file

@ -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) {