From e2abd0821e1562812e1d6e9d1bd79abbe24c91bd Mon Sep 17 00:00:00 2001 From: dwulfde Date: Fri, 16 Nov 2018 01:43:14 +0100 Subject: [PATCH] @types/paper: Added Item.locked to the definition (#30514) * Added Item.locked to the definition * Added the right Paper.js version to the header --- types/paper/index.d.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/types/paper/index.d.ts b/types/paper/index.d.ts index ff75266725..016581f16c 100644 --- a/types/paper/index.d.ts +++ b/types/paper/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Paper.js v0.11.5 +// Type definitions for Paper.js v0.11.8 // Project: http://paperjs.org/ // Definitions by: Clark Stevenson , // Jon Lucas , @@ -1332,7 +1332,12 @@ declare module paper { * The path style of the item. */ style: Style; - + + /** + * Specifies whether the item is locked. When set to true, item interactions with the mouse are disabled. + */ + locked: boolean; + /** * Specifies whether the item is visible. When set to false, the item won't be drawn. */