Skip to content

Commit

Permalink
fix: typo #262
Browse files Browse the repository at this point in the history
  • Loading branch information
army8735 committed Feb 1, 2023
1 parent 76dd59b commit 48c21b4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13069,7 +13069,7 @@

this.__content = s;

this.__root.__addUpdate(this.__domParent, null, o$1.REFLOW, false, false, false, cb);
this.__root.__addUpdate(this.__domParent, null, o$1.REFLOW, false, false, false, false, cb);
}
}, {
key: "remove",
Expand Down Expand Up @@ -13122,7 +13122,7 @@
} // 可见在reflow逻辑做结构关系等,text视为父变更


root.__addUpdate(this, null, o$1.REFLOW, false, true, false, cb);
root.__addUpdate(this, null, o$1.REFLOW, false, true, false, false, cb);
}
}, {
key: "__structure",
Expand Down
2 changes: 1 addition & 1 deletion index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/node/Text.js
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ class Text extends Node {
s = s.toString();
}
this.__content = s;
this.__root.__addUpdate(this.__domParent, null, level.REFLOW, false, false, false, cb);
this.__root.__addUpdate(this.__domParent, null, level.REFLOW, false, false, false, false, cb);
}

remove(cb) {
Expand Down Expand Up @@ -863,7 +863,7 @@ class Text extends Node {
return;
}
// 可见在reflow逻辑做结构关系等,text视为父变更
root.__addUpdate(this, null, level.REFLOW, false, true, false, cb);
root.__addUpdate(this, null, level.REFLOW, false, true, false, false, cb);
}

__structure(lv, j) {
Expand Down

0 comments on commit 48c21b4

Please sign in to comment.