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

Commit

Permalink
feat: lower base dpi to 96
Browse files Browse the repository at this point in the history
  • Loading branch information
RossComputerGuy committed May 18, 2024
1 parent ea2ce3a commit 86b9145
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logic/outputs.dart
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class Output {

double get units {
if (dpi == 0.0) return 1.0;
return scale * (dpi / 100.0);
return scale * (dpi / 96.0);
}

Map<String, Object?> toJSON() {
Expand Down
1 change: 1 addition & 0 deletions lib/widgets/system_navbar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class SystemNavbar extends StatefulWidget {
final double padding;
final double iconSize;
final double axisExtent;
final double height;

@override
State<SystemNavbar> createState() => _SystemNavbarState();
Expand Down

0 comments on commit 86b9145

Please sign in to comment.