fix
This commit is contained in:
parent
951635e7f8
commit
21c4907e44
|
@ -73,10 +73,12 @@ func (w *wsConnectItem) consumeRenderImageData() {
|
|||
case data := <-w.extendRenderProperty.renderChan: //消费数据
|
||||
//属性不同则不发送渲染
|
||||
if data.RenderData.TemplateTag != w.extendRenderProperty.templateTag {
|
||||
logx.Info("丢弃切换了标签之前的渲染")
|
||||
continue
|
||||
}
|
||||
//属性不同则不发送渲染
|
||||
if data.RenderData.TemplateTagColor.SelectedColorIndex != w.extendRenderProperty.colorSelectedIndex {
|
||||
logx.Info("丢弃切换了颜色之前的渲染")
|
||||
continue
|
||||
}
|
||||
limitChan <- struct{}{}
|
||||
|
|
Loading…
Reference in New Issue
Block a user