Skip to content

Commit 79cdf9c

Browse files
committed
Small fixes:
- Clarify what "state-transition interactions" means - Mark application.activeDocument as non-nullable - Fix ToC link for ImageFill constructor
1 parent 8a36f2d commit 79cdf9c

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

known-issues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
- In the past, XD's renderer would fail asserts (possibly even crash) with 0-size objects. I couldn't repro that any more, but unless we're covering it well as an officially supported case, it could easily regress again. There are some other minor bugs though, e.g. sharing fails if you have any 0-width/height artboards and bitmap export fails if any of the top-level items you're trying to export are 0-width/height.
1919
- Longer plugin command names may be truncated in the menu on Windows
2020
- Workaround: keep your plugin command names short!
21-
- Keypress/gamepad, hover, and state-transition interactions are not returned to plugins yet when requesting the list of interactions on a scenenode or the entire document.
21+
- Keypress/gamepad, hover, and component state-transition interactions are not returned to plugins yet when requesting the list of interactions on a scenenode or the entire document.
2222

2323
## Assets Panel
2424

reference/ImageFill.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ selection.items[0].fill = fill;
3131
* [.isLinkedContent](#ImageFill-isLinkedContent) : <code>boolean</code>
3232

3333

34+
<a name="new_ImageFill_new"></a>
3435
## ImageFill()
3536

3637
| Param | Type | Description |

reference/application.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The `application` module exposes APIs for exporting content, initiating edits fr
1010
* [.version](#module_application-version) : <code>string</code>
1111
* [.appLanguage](#module_application-appLanguage) : <code>string</code>
1212
* [.systemLocale](#module_application-systemLocale) : <code>string</code>
13-
* [.activeDocument](#module_application-activeDocument) : <code>DocumentInfo</code>
13+
* [.activeDocument](#module_application-activeDocument) : <code>!DocumentInfo</code>
1414

1515

1616
---
@@ -184,7 +184,7 @@ console.log("OS locale:", application.systemLocale); // e.g. "en_US"
184184

185185
<a name="module_application-activeDocument"></a>
186186

187-
### *application.activeDocument : <code>DocumentInfo</code>*
187+
### *application.activeDocument : <code>!DocumentInfo</code>*
188188

189189
Information about the document which this instance of the plugin is attached to.
190190

reference/interactions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ specifies a `triggerNode` and the result of getting [`triggerNode.triggeredInter
190190

191191
May include interactions that are impossible to trigger because the trigger node (or one of its ancestors) has `visible` = false.
192192

193-
Note: currently, this API excludes all of the document's keyboard/gamepad, hover, and state-transition interactions.
193+
Note: currently, this API excludes all of the document's keyboard/gamepad, hover, and component state-transition interactions.
194194

195195
**Kind**: static property of [<code>interactions</code>](#module_interactions)
196196
**Read only**: true

reference/scenegraph.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ is an [Interaction object](./interactions.md#Interaction) which describes a gest
488488

489489
Note: If this node (or one of its ancestors) has `visible` = false, tap and drag interactions on it will not be triggered.
490490

491-
Currently, this API excludes any keyboard/gamepad, hover, and state-transition interactions on this node.
491+
Currently, this API excludes any keyboard/gamepad, hover, and component state-transition interactions on this node.
492492

493493
**Example**
494494
```js

0 commit comments

Comments
 (0)