Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #189 from Parabeac/hotfix-inconsistent-sketch-rota…
Browse files Browse the repository at this point in the history
…tion-value

Fixed issue where sketch would send a double instead of an int and vi…
  • Loading branch information
mergify[bot] authored Dec 1, 2020
2 parents 11cd646 + 5930f78 commit dc83bc5
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions lib/input/sketch/entities/layers/abstract_group_layer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ abstract class AbstractGroupLayer extends SketchNode implements GroupNode {
nameIsFixed,
resizingConstraint,
resizingType,
rotation,
num rotation,
sharedStyleID,
shouldBreakMaskChain,
hasClippingMask,
Expand All @@ -53,7 +53,7 @@ abstract class AbstractGroupLayer extends SketchNode implements GroupNode {
nameIsFixed,
resizingConstraint,
resizingType,
rotation,
rotation?.toDouble(),
sharedStyleID,
shouldBreakMaskChain,
hasClippingMask,
Expand Down
2 changes: 1 addition & 1 deletion lib/input/sketch/entities/layers/abstract_layer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ abstract class SketchNode implements DesignNode {
final bool nameIsFixed;
final dynamic resizingConstraint;
final dynamic resizingType;
final int rotation;
final double rotation;
final dynamic sharedStyleID;
final bool shouldBreakMaskChain;
final bool hasClippingMask;
Expand Down
4 changes: 2 additions & 2 deletions lib/input/sketch/entities/layers/abstract_shape_layer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ abstract class AbstractShapeLayer extends SketchNode implements DesignShape {
nameIsFixed,
resizingConstraint,
resizingType,
rotation,
num rotation,
sharedStyleID,
shouldBreakMaskChain,
hasClippingMask,
Expand All @@ -56,7 +56,7 @@ abstract class AbstractShapeLayer extends SketchNode implements DesignShape {
nameIsFixed,
resizingConstraint,
resizingType,
rotation,
rotation?.toDouble(),
sharedStyleID,
shouldBreakMaskChain,
hasClippingMask,
Expand Down
4 changes: 2 additions & 2 deletions lib/input/sketch/entities/layers/bitmap.dart
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Bitmap extends SketchNode implements SketchNodeFactory, Image {
nameIsFixed,
resizingConstraint,
resizingType,
rotation,
num rotation,
sharedStyleID,
shouldBreakMaskChain,
hasClippingMask,
Expand All @@ -79,7 +79,7 @@ class Bitmap extends SketchNode implements SketchNodeFactory, Image {
nameIsFixed,
resizingConstraint,
resizingType,
rotation,
rotation?.toDouble(),
sharedStyleID,
shouldBreakMaskChain,
hasClippingMask,
Expand Down
2 changes: 1 addition & 1 deletion lib/input/sketch/entities/layers/bitmap.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/input/sketch/entities/layers/sketch_text.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class SketchText extends SketchNode implements SketchNodeFactory, Text {
bool nameIsFixed,
resizingConstraint,
resizingType,
int rotation,
double rotation,
sharedStyleID,
bool shouldBreakMaskChain,
bool hasClippingMask,
Expand Down
2 changes: 1 addition & 1 deletion lib/input/sketch/entities/layers/sketch_text.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/input/sketch/entities/layers/symbol_instance.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class SymbolInstance extends SketchNode
bool nameIsFixed,
resizingConstraint,
resizingType,
int rotation,
num rotation,
sharedStyleID,
bool shouldBreakMaskChain,
bool hasClippingMask,
Expand Down Expand Up @@ -102,7 +102,7 @@ class SymbolInstance extends SketchNode
nameIsFixed,
resizingConstraint,
resizingType,
rotation,
rotation?.toDouble(),
sharedStyleID,
shouldBreakMaskChain,
hasClippingMask,
Expand Down
2 changes: 1 addition & 1 deletion lib/input/sketch/entities/layers/symbol_instance.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dc83bc5

Please sign in to comment.