提交 1cfa45d6 编写于 作者: P pissang

fix(state): fix z2 lift on emphasis

上级 9df0be95
......@@ -480,7 +480,7 @@ function elementStateProxy(this: Displayable, stateName: string): DisplayableSta
if (state) {
const z2EmphasisLift = (this as ECElement).z2EmphasisLift;
// TODO Share with textContent?
state.z2 = this.z2 + z2EmphasisLift != null ? z2EmphasisLift : Z2_EMPHASIS_LIFT;
state.z2 = this.z2 + (z2EmphasisLift != null ? z2EmphasisLift : Z2_EMPHASIS_LIFT);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册