Merge "Fix the position of the gray vertical line for line length limit"

This commit is contained in:
Ben Rohlfs 2019-03-21 11:54:54 +00:00 committed by Gerrit Code Review
commit fb4ef32529

View File

@ -139,7 +139,10 @@
},
/** @type {?} */
patchRange: Object,
path: String,
path: {
type: String,
observer: '_pathObserver',
},
prefs: {
type: Object,
observer: '_prefsObserver',
@ -636,6 +639,11 @@
}
},
_pathObserver() {
// Call _prefsChanged(), because line-limit style value depends on path.
this._prefsChanged(this.prefs);
},
_viewModeObserver() {
this._prefsChanged(this.prefs);
},