Add share tab

This commit is contained in:
Pieter Vander Vennet 2020-07-29 15:05:19 +02:00
parent dcdfa8159b
commit 7b91d2574f
17 changed files with 573 additions and 104 deletions

View file

@ -3,6 +3,7 @@ import { FilteredLayer } from "../Logic/FilteredLayer";
import { CheckBox } from "./Input/CheckBox";
import Combine from "./Base/Combine";
import {Utils} from "../Utils";
import {Img} from "./Img";
export class LayerSelection extends UIElement{
@ -25,9 +26,7 @@ export class LayerSelection extends UIElement{
this._checkboxes.push(new CheckBox(
new Combine([checkbox, icon, name]),
new Combine([
`<svg width="26" height="18" viewBox="0 0 26 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M3 7.28571L10.8261 15L23 3" stroke="#ffffff" stroke-width="4" stroke-linejoin="round"/>
</svg>`,
Img.checkmark,
icon,
layer.layerDef.name]),
layer.isDisplayed));