Skip to content

Commit

Permalink
✨ Show toolbox of layer according to visible attribute value g3w-suit…
Browse files Browse the repository at this point in the history
  • Loading branch information
volterra79 committed Oct 16, 2024
1 parent 67a67fa commit 2381eff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolboxes/toolbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export class ToolBox extends G3WObject {
layer,
id : layer.getId(),
changingtools : false, // whether to show tools during change phase
show : true, // whether to show the toolbox if we need to filtered
show : layer.config.editing.visible, // whether to show the toolbox if we need to filtered
color : layer.getColor() || 'blue',
title : ` ${layer.getTitle()}` || "Edit Layer",
customTitle : false,
Expand Down

0 comments on commit 2381eff

Please sign in to comment.