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

Fixed issue where sketch would send a double instead of an int and vi… #189

Merged
merged 1 commit into from
Dec 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.