mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-08 05:42:07 -05:00
Prebuilt module for commit 43ec699063
This commit is contained in:
parent
10ab56f51f
commit
fd35fefe2e
6 changed files with 27 additions and 15 deletions
8
dist/docs/assets/js/paper.js
vendored
8
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Fri Jun 7 15:06:46 2019 +0200
|
||||
* Date: Fri Jun 7 17:19:59 2019 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -9070,6 +9070,10 @@ var Path = PathItem.extend({
|
|||
new function() {
|
||||
|
||||
function drawHandles(ctx, segments, matrix, size) {
|
||||
if (size <= 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
var half = size / 2,
|
||||
coords = new Array(6),
|
||||
pX, pY;
|
||||
|
@ -9099,7 +9103,7 @@ new function() {
|
|||
if (selection & 4)
|
||||
drawHandle(4);
|
||||
ctx.fillRect(pX - half, pY - half, size, size);
|
||||
if (!(selection & 1)) {
|
||||
if (!(selection & 1) && size > 2) {
|
||||
var fillStyle = ctx.fillStyle;
|
||||
ctx.fillStyle = '#ffffff';
|
||||
ctx.fillRect(pX - half + 1, pY - half + 1, size - 2, size - 2);
|
||||
|
|
8
dist/paper-core.js
vendored
8
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Fri Jun 7 15:06:46 2019 +0200
|
||||
* Date: Fri Jun 7 17:19:59 2019 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -9067,6 +9067,10 @@ var Path = PathItem.extend({
|
|||
new function() {
|
||||
|
||||
function drawHandles(ctx, segments, matrix, size) {
|
||||
if (size <= 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
var half = size / 2,
|
||||
coords = new Array(6),
|
||||
pX, pY;
|
||||
|
@ -9096,7 +9100,7 @@ new function() {
|
|||
if (selection & 4)
|
||||
drawHandle(4);
|
||||
ctx.fillRect(pX - half, pY - half, size, size);
|
||||
if (!(selection & 1)) {
|
||||
if (!(selection & 1) && size > 2) {
|
||||
var fillStyle = ctx.fillStyle;
|
||||
ctx.fillStyle = '#ffffff';
|
||||
ctx.fillRect(pX - half + 1, pY - half + 1, size - 2, size - 2);
|
||||
|
|
8
dist/paper-core.min.js
vendored
8
dist/paper-core.min.js
vendored
File diff suppressed because one or more lines are too long
8
dist/paper-full.js
vendored
8
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Fri Jun 7 15:06:46 2019 +0200
|
||||
* Date: Fri Jun 7 17:19:59 2019 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -9070,6 +9070,10 @@ var Path = PathItem.extend({
|
|||
new function() {
|
||||
|
||||
function drawHandles(ctx, segments, matrix, size) {
|
||||
if (size <= 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
var half = size / 2,
|
||||
coords = new Array(6),
|
||||
pX, pY;
|
||||
|
@ -9099,7 +9103,7 @@ new function() {
|
|||
if (selection & 4)
|
||||
drawHandle(4);
|
||||
ctx.fillRect(pX - half, pY - half, size, size);
|
||||
if (!(selection & 1)) {
|
||||
if (!(selection & 1) && size > 2) {
|
||||
var fillStyle = ctx.fillStyle;
|
||||
ctx.fillStyle = '#ffffff';
|
||||
ctx.fillRect(pX - half + 1, pY - half + 1, size - 2, size - 2);
|
||||
|
|
8
dist/paper-full.min.js
vendored
8
dist/paper-full.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/paper.d.ts
vendored
2
dist/paper.d.ts
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Fri Jun 7 15:06:46 2019 +0200
|
||||
* Date: Fri Jun 7 17:19:59 2019 +0200
|
||||
*
|
||||
* This is an auto-generated type definition.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue