Merge "Fix the position of the gray vertical line for line length limit"
This commit is contained in:
commit
fb4ef32529
@ -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);
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user