You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: changes.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,17 @@
1
1
# Change Log
2
2
3
+
XD Release 30.0.12 (June 2020)
4
+
-------------------------------------
5
+
6
+
### New features
7
+
***Scrollable Groups** -- Plugins will see a new [ScrollableGroup](./reference/scenegraph.md#ScrollableGroup) node type and can read the scroll direction(s) and viewport size. Plugins cannot yet create a ScrollableGroup or modify its viewport, however.
8
+
9
+
### Known Issues
10
+
***Content Aware Stacks** -- Some plugin actions, such as changing a node's position or its Responsive Resize constraints, may be ignored or behave unexpectedly when the node's parent is a Group with Stack layout enabled. Plugins cannot yet create, read, or modify Stack layout settings on a Group.
11
+
12
+
* MouseEvent `clientX`/`clientY` and `offsetX`/`offsetY` values are incorrect (and always have been) -- these values will probably change in the _next_ XD release, so do not rely on them.
13
+
14
+
3
15
XD Release 29.0.32 (May 2020)
4
16
-------------------------------------
5
17
@@ -34,7 +46,7 @@ Bug fixes:
34
46
35
47
### Known Issues
36
48
37
-
* MouseEvent `clientX`/`clientY` and `offsetX`/`offsetY` values are incorrect (and always have been) -- these values will probably change in the _next_ XD release.
49
+
* MouseEvent `clientX`/`clientY` and `offsetX`/`offsetY` values are incorrect (and always have been) -- these values will change in a near-future XD release, so do not rely on them.
Copy file name to clipboardExpand all lines: reference/core/automatic-cleanups.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,3 +14,7 @@ To make writing your plugin simpler, XD performs a number of automated cleanups
14
14
15
15
***Repeat Grid cell syncing** - Most changes you make inside a Repeat Grid cell are automatically mirrored to all its other cells, except for certain properties
16
16
such as text and images which XD permits to vary between grid cells.
17
+
18
+
***Content-Aware Group & Stack layout updates** -- The background layer (if any) of a Content-Aware Group will update automatically after a plugin changes the
19
+
size or position of its contents. Similarly, changing a node inside a Group with Stack layout will automatically slide its adjacent siblings to preserve a
20
+
constant margin around the node. These changes do not occur until after the plugin command finishes.
The mask shape applied to this group, if any. This object is also present in the group's `children` list. Though it has no direct visual appearance of its own, the mask affects the entire group's appearance by clipping all its other content.
978
983
984
+
The `localBounds`, `globalBounds`, and `globalDrawBounds` of a Masked Group are based on the bounds of the mask shape alone, regardless of whether the content is larger than the mask or even if the content doesn't fill the mask area completely.
985
+
979
986
**Kind**: instance property of [<code>Group</code>](#Group)
980
987
**Read only**: true
981
988
@@ -2189,6 +2196,56 @@ You can call this API from either of _two different edit contexts_:
2189
2196
2190
2197
* * *
2191
2198
2199
+
<aname="ScrollableGroup"></a>
2200
+
2201
+
## ScrollableGroup
2202
+
**Since:** XD 30
2203
+
**Kind**: class
2204
+
**Extends**: [<code>SceneNode</code>](#SceneNode)
2205
+
2206
+
ScrollableGroup nodes are content that users can interactively scroll around. Content is viewed through a [viewport](#ScrollableGroup-viewport),
2207
+
with everything else clipped. If a ScrollableGroup is set to only scroll on one axis, on the other axis the viewport is
2208
+
automatically sized to exactly fit the bounds of the content so nothing is clipped.
2209
+
2210
+
The scroll distance range is defined by a _scrollable area_ rectangle which is the union of the viewport and the bounds of all
2211
+
the content. This can include some blank space, if the content is initially positioned not filling the entire viewport.
0 commit comments