Merge branch 'main' into testing-30-transform-command

pull/31/head
Steve Ruiz 2021-07-09 10:23:59 +01:00 zatwierdzone przez GitHub
commit 2e7ed423ad
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 29 dodań i 5 usunięć

Wyświetl plik

@ -1,2 +1,14 @@
- name: Jest Annotations & Coverage
uses: mattallty/jest-github-action@v1.0.3
name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install modules
run: yarn
# unit tests
- name: Jest Annotations & Coverage
uses: mattallty/jest-github-action@v1.0.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Wyświetl plik

@ -516,7 +516,13 @@ interface ShapeUtility<K extends Shape> {
onHandleChange(
this: ShapeUtility<K>,
shape: Mutable<K>,
handle: Partial<K['handles']>
handle: Partial<K['handles']>,
info?: Partial<{
delta: number[]
shiftKey: boolean
altKey: boolean
metaKey: boolean
}>
): ShapeUtility<K>
onDoublePointHandle(
@ -1084,7 +1090,13 @@ interface ShapeUtility<K extends Shape> {
onHandleChange(
this: ShapeUtility<K>,
shape: Mutable<K>,
handle: Partial<K['handles']>
handle: Partial<K['handles']>,
info?: Partial<{
delta: number[]
shiftKey: boolean
altKey: boolean
metaKey: boolean
}>
): ShapeUtility<K>
onDoublePointHandle(
@ -1663,7 +1675,7 @@ type RequiredKeys<T> = {
const t = i / steps
return t * t * t
})
.map((t) => [...Vec.lrp(a, b, t), (1 - t) / 2])
.map((t) => Vec.round([...Vec.lrp(a, b, t), (1 - t) / 2]))
}
}