| Index: samples/swarm/swarm_ui_lib/touch/FxUtil.dart
|
| diff --git a/samples/swarm/swarm_ui_lib/touch/FxUtil.dart b/samples/swarm/swarm_ui_lib/touch/FxUtil.dart
|
| index 1f9824cac6e9f9561869df756f5ad55ab48e2fb3..33ebc95e46ea95f7b2111580d5ea1fc7077f33e2 100644
|
| --- a/samples/swarm/swarm_ui_lib/touch/FxUtil.dart
|
| +++ b/samples/swarm/swarm_ui_lib/touch/FxUtil.dart
|
| @@ -44,15 +44,15 @@ class FxUtil {
|
| // transformation matricies that will be set as CSS styles. We should
|
| // consider using CSSMatrix although that may be overkill.
|
| String transform = '${TRANSLATE_3D}(${x}px,${y}px,${z}px)';
|
| - if (rotation !== null) {
|
| + if (rotation != null) {
|
| transform = transform.concat(' ${ROTATE}(${rotation}deg)');
|
| }
|
| - if (scale !== null) {
|
| + if (scale != null) {
|
| transform = transform.concat(' ${SCALE}(${scale})');
|
| }
|
| style.transform = transform;
|
| - if (originX !== null || originY !== null) {
|
| - assert(originX !== null && originY !== null);
|
| + if (originX != null || originY != null) {
|
| + assert(originX != null && originY != null);
|
| style.transformOrigin = '${originX}px ${originY}px';
|
| }
|
| }
|
|
|