- Fixed
RadialGroup#isWithinInnerRadiusso that it takes into account thetotalDegreesDrawn. - Added
RadialGroup#isWithinDrawnAngle. - Added
RadialGroup#isInnerRadiusBlockingPropagation. - (NOT BACKWARD-COMPATIBLE) Added a new flag:
hitThroughInnerRadius(forPieWidget). Default value:true. This changes the wayPieWidget#hitbehaves: it isn't based on the presence of a background or background color anymore. If you don't want yourhitto reach Actors behind yourinnerRadius, set this value tofalse. - (NOT BACKWARD-COMPATIBLE) Renamed
PieWidget#isBackgroundHittoPieWidget#isInnerRadiusBlockingPropagation. This is a more appropriate (less misleading) method name based on the new behavior described in the last point. - Minor optimizations for
#findChildIndexAtStage(in bothRadialGroupandPieMenu). - Minor JavaDoc tweaks.
WebDemo updated to use v5.0.0.
For people transitioning from v4, the main difference is with the behavior of the inner radius part: it used to block or not the propagation of the hit method to Actors below it depending on the presence or not of a style.background or style.backgroundColor. Now, this has been adjusted to allow more flexibility: use the hitThroughInnerRadius flag. It only applies to PieWidget and PieMenu, and in both cases really only mostly matters if you were not using any of the "drag" behaviors (that is, you allow the user to release it's mouse-click before letting them select an option).
Basically, if you can't notice any difference when you click in the innerRadius of your toy, then you're good to go! :)