Skip to content

Commit

Permalink
Run dart format
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsRefsgaard committed Aug 3, 2023
1 parent ce8f218 commit b4cedab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ui/cards/scoreboard_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ class ScoreboardPersistentHeaderDelegate

// A simple function that returns the font size from the scoreNumberStyle, but increasingly smaller when scrolling down.
// Also used for the size of the divider in the middle
double calculateScrollAwareSizing(double shrinkOffset, double minSize, double maxSize) {
double calculateScrollAwareSizing(
double shrinkOffset, double minSize, double maxSize) {
// Calculate the normalized shrinkOffset value in the range [0, 1]
double normalizedShrinkOffset = shrinkOffset / maxExtent;

Expand Down

0 comments on commit b4cedab

Please sign in to comment.