File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ var SetHitArea = function ( items , hitArea , hitAreaCallback )
2+ {
3+ for ( var i = 0 ; i < items . length ; i ++ )
4+ {
5+ items [ i ] . setHitArea ( hitArea , hitAreaCallback ) ;
6+ }
7+
8+ return items ;
9+ } ;
10+
11+ module . exports = SetHitArea ;
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ module.exports = {
2727 ScaleXY : require ( './ScaleXY' ) ,
2828 ScaleY : require ( './ScaleY' ) ,
2929 SetAlpha : require ( './SetAlpha' ) ,
30+ SetHitArea : require ( './SetHitArea' ) ,
3031 SetOrigin : require ( './SetOrigin' ) ,
3132 SetRotation : require ( './SetRotation' ) ,
3233 SetScale : require ( './SetScale' ) ,
Original file line number Diff line number Diff line change 11var CHECKSUM = {
2- build : '3f89fe30-6767 -11e7-a84d-c5c9fa126d36 '
2+ build : 'eaf36990-6768 -11e7-b615-6ddbba39daf4 '
33} ;
44module . exports = CHECKSUM ;
Original file line number Diff line number Diff line change @@ -157,6 +157,14 @@ var Group = new Class({
157157
158158 Actions . SetAlpha ( entries , alpha , stepAlpha ) ;
159159
160+ var hitArea = GetValue ( options , 'hitArea' , null ) ;
161+ var hitAreaCallback = GetValue ( options , 'hitAreaCallback' , null ) ;
162+
163+ if ( hitArea )
164+ {
165+ Actions . SetHitArea ( entries , hitArea , hitAreaCallback ) ;
166+ }
167+
160168 var grid = GetValue ( options , 'gridAlign' , false ) ;
161169
162170 if ( grid )
You can’t perform that action at this time.
0 commit comments