fix
This commit is contained in:
parent
b1673687a8
commit
4bedece94e
|
@ -51,9 +51,9 @@ func (r *renderProcessor) allocationMessage(w *wsConnectItem, data []byte) {
|
|||
}
|
||||
//颜色/模板标签/logo变更
|
||||
ifCancelOldCtx := false
|
||||
if renderImageData.RenderData.TemplateTag != w.extendRenderProperty.templateTag {
|
||||
/*if renderImageData.RenderData.TemplateTag != w.extendRenderProperty.templateTag {
|
||||
ifCancelOldCtx = true
|
||||
}
|
||||
}*/
|
||||
if renderImageData.RenderData.TemplateTagColor.SelectedColorIndex != w.extendRenderProperty.selectColorIndex {
|
||||
ifCancelOldCtx = true
|
||||
}
|
||||
|
@ -97,10 +97,10 @@ func (w *wsConnectItem) consumeRenderImageData() {
|
|||
return
|
||||
case data := <-w.extendRenderProperty.renderChan: //消费数据
|
||||
//标签不一样
|
||||
if data.RenderData.TemplateTag != w.extendRenderProperty.templateTag {
|
||||
/*if data.RenderData.TemplateTag != w.extendRenderProperty.templateTag {
|
||||
//logx.Info("标签不一致,丢弃消息")
|
||||
continue
|
||||
}
|
||||
}*/
|
||||
//颜色不一致
|
||||
if data.RenderData.TemplateTagColor.SelectedColorIndex != w.extendRenderProperty.selectColorIndex {
|
||||
//logx.Info("颜色不一致,丢弃消息")
|
||||
|
|
Loading…
Reference in New Issue
Block a user