showPanel = (on, tool) => {
      if (on) {
        $id(`${tool}_panel`).style.removeProperty('display')
      } else {
        $id(`${tool}_panel`).style.display = 'none'
      }
    }
@param {boolean} on true=display
@param {string} tool "star" or "polygone"
@returns {void}