feat: add line shape (#371)

* feat: add line shape

* fix: align line tool

* fix: hitbox bug sw to ne

* fix: add stroke width n sloppiness  for line

* fix: center line inside a panel box

* fix: use color as a unique key
This commit is contained in:
Bakhtiiar Muzakparov 2020-01-15 22:07:19 +03:00 committed by Timur Khazamov
parent 42968ef44d
commit 8db8827c6f
8 changed files with 61 additions and 5 deletions

View file

@ -33,6 +33,7 @@ const Picker = function({
title={color}
tabIndex={0}
style={{ backgroundColor: color }}
key={color}
>
{color === "transparent" ? (
<div className="color-picker-transparent"></div>