mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-15 13:18:40 -09:00
Fix prop update logic for fontSmoothing (#302)
This commit is contained in:
parent
a2363c52bd
commit
a81771b27d
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ export default class Term extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.props.fontSmoothing !== nextProps.fontSmoothing) {
|
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) {
|
if (this.props.cursorColor !== nextProps.cursorColor) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue