chore: no need to call layer.redraw in layer.render()

We already call hide/show, which is what redraw does
This commit is contained in:
Yohan Boniface 2024-12-19 13:23:48 +01:00
parent d24f05907c
commit 4ea5a28f04

View file

@ -151,7 +151,6 @@ export class DataLayer extends ServerStored {
for (const field of fields) {
this.layer.onEdit(field, builder)
}
this.redraw()
this.show()
break
case 'remote-data':