Remove update propagation
This commit is contained in:
parent
c4996ef5d8
commit
24c7369451
12 changed files with 23 additions and 57 deletions
|
@ -14,21 +14,12 @@ export default class Common {
|
|||
input.onKey(key => keymapper.key(key));
|
||||
|
||||
this.store = store;
|
||||
this.children = [
|
||||
follow,
|
||||
input,
|
||||
keymapper,
|
||||
];
|
||||
|
||||
this.reloadSettings();
|
||||
|
||||
messages.onMessage(this.onMessage.bind(this));
|
||||
}
|
||||
|
||||
update() {
|
||||
this.children.forEach(c => c.update());
|
||||
}
|
||||
|
||||
onMessage(message) {
|
||||
switch (message.type) {
|
||||
case messages.SETTINGS_CHANGED:
|
||||
|
|
Reference in a new issue