Fix formatting

This commit is contained in:
Lukas Klingsbo
2020-05-27 21:23:50 +02:00
parent dc874dd29e
commit c0b95fb425
4 changed files with 3 additions and 4 deletions

View File

@ -70,7 +70,6 @@ abstract class PositionComponentEffect {
bool isMax() => percentage == null ? false : percentage == 1.0; bool isMax() => percentage == null ? false : percentage == 1.0;
bool isMin() => percentage == null ? false : percentage == 0.0; bool isMin() => percentage == null ? false : percentage == 0.0;
void reset() { void reset() {
_isDisposed = false; _isDisposed = false;
percentage = null; percentage = null;

View File

@ -33,7 +33,7 @@ class MoveEffect extends PositionComponentEffect {
@override @override
void initialize(_comp) { void initialize(_comp) {
super.initialize(_comp); super.initialize(_comp);
if(!isAlternating) { if (!isAlternating) {
endPosition = destination; endPosition = destination;
} }

View File

@ -23,7 +23,7 @@ class RotateEffect extends PositionComponentEffect {
@override @override
void initialize(_comp) { void initialize(_comp) {
super.initialize(_comp); super.initialize(_comp);
if(!isAlternating) { if (!isAlternating) {
endAngle = _comp.angle + radians; endAngle = _comp.angle + radians;
} }
_originalAngle = component.angle; _originalAngle = component.angle;

View File

@ -30,7 +30,7 @@ class ScaleEffect extends PositionComponentEffect {
@override @override
void initialize(_comp) { void initialize(_comp) {
super.initialize(_comp); super.initialize(_comp);
if(!isAlternating) { if (!isAlternating) {
endSize = Position.fromSize(size); endSize = Position.fromSize(size);
} }