fix
This commit is contained in:
parent
e4c165cd18
commit
20150a81b5
@ -72,11 +72,11 @@ func (w *wsConnectItem) consumeRenderImageData() {
|
|||||||
return
|
return
|
||||||
case data := <-w.extendRenderProperty.renderChan: //消费数据
|
case data := <-w.extendRenderProperty.renderChan: //消费数据
|
||||||
if data.RenderData.TemplateTag != w.extendRenderProperty.templateTag{
|
if data.RenderData.TemplateTag != w.extendRenderProperty.templateTag{
|
||||||
logx.Error("由于模板切换了,丢弃该渲染消息")
|
logx.Info("由于模板切换了,丢弃该渲染消息")
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if data.RenderData.TemplateTagColor.SelectedColorIndex != w.extendRenderProperty.selectColorIndex{
|
if data.RenderData.TemplateTagColor.SelectedColorIndex != w.extendRenderProperty.selectColorIndex{
|
||||||
logx.Error("由于模板切换了颜色,丢弃该渲染消息")
|
logx.Info("由于模板切换了颜色,丢弃该渲染消息")
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
limitChan <- struct{}{}
|
limitChan <- struct{}{}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user