Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
twangodev committed Jul 24, 2024
1 parent a37578c commit 508721a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/widgets/editor/editor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ class _EditorState extends State<Editor> {
toggleGrid: gridToggleState,
editingTool: activeEditingTool,
),
size: Size(constraints.maxWidth, constraints.maxHeight),
size: Size(constraints.maxWidth,
constraints.maxHeight),
);
});
})));
Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/editor/editor_painter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ class EditorPainter extends CustomPainter {
text: text,
style: TextStyle(
color: Colors.grey.shade500,
fontSize: 12 ,
fontSize: 12,
),
),
textDirection: TextDirection.ltr,
Expand Down
3 changes: 2 additions & 1 deletion lib/widgets/editor/editor_painter_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ class EditorData extends ChangeNotifier {
double get scale => _scale;
set scale(double value) {
if (value == _scale) return;
logger.finest('Scaling update: $value, inverse: ${1 / value}, old: $_scale, ratio: ${value / _scale}');
logger.finest(
'Scaling update: $value, inverse: ${1 / value}, old: $_scale, ratio: ${value / _scale}');
_scale = value;
notifyListeners();
}
Expand Down

0 comments on commit 508721a

Please sign in to comment.