@@ -46,7 +46,7 @@ export class Group extends StyledLayer {
4646 if ( this . isImmutable ( ) ) {
4747 return this
4848 }
49- this . _object . legacyFixGeometryWithOptions ( 0 )
49+ this . _object . resizeToFitChildren ( )
5050 return this
5151 }
5252}
@@ -162,7 +162,7 @@ Group.define('smartLayout', {
162162export const GroupBehavior = {
163163 /**
164164 * The default behavior according to other properties of the group.
165- *
165+ *
166166 * Normally, if no other properties influence the behavior, it will behave like a plain group
167167 * that fits around its children.
168168 */
@@ -176,8 +176,8 @@ export const GroupBehavior = {
176176
177177 /**
178178 * A graphic gets both the frame trait and the graphic trait.
179- *
180- * Graphics are much like frames but the contents don't support constraints, and they resize
179+ *
180+ * Graphics are much like frames but the contents don't support constraints, and they resize
181181 * proportionally instead.
182182 */
183183 Graphic : 2 ,
@@ -190,7 +190,5 @@ export const GroupBehavior = {
190190 * @return {string } The name of the behavior
191191 */
192192export function getGroupBehaviorName ( value ) {
193- return Object . keys ( GroupBehavior ) . find (
194- ( key ) => GroupBehavior [ key ] === value
195- )
193+ return Object . keys ( GroupBehavior ) . find ( ( key ) => GroupBehavior [ key ] === value )
196194}
0 commit comments