fix: richtext elements boundary render error

pr675
Hufe921 2 years ago
parent 72a22b5e61
commit 956035b0e3

@ -28,7 +28,8 @@ export abstract class AbstractRichText {
color?: string
) {
const isFirstRecord = !this.fillRect.width
if (!isFirstRecord && this.fillColor && this.fillColor !== color) {
// 颜色不同时立即绘制
if (!isFirstRecord && this.fillColor !== color) {
this.render(ctx)
this.clearFillInfo()
// 重新记录

Loading…
Cancel
Save