Przeglądaj źródła

Merge pull request #229 from frappe/fix-stroke-width

fix: default strokeWidth
tags/1.2.3
Rushabh Mehta 6 lat temu
committed by GitHub
rodzic
commit
269847589f
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/js/utils/draw.js

+ 1
- 1
src/js/utils/draw.js Wyświetl plik

@@ -98,7 +98,7 @@ export function wrapInSVGGroup(elements, className='') {
return g;
}

export function makePath(pathStr, className='', stroke='none', fill='none', strokeWidth=0) {
export function makePath(pathStr, className='', stroke='none', fill='none', strokeWidth=2) {
return createSVG('path', {
className: className,
d: pathStr,


Ładowanie…
Anuluj
Zapisz