diff --git a/lib/logic/outputs.dart b/lib/logic/outputs.dart index 0b112d21..43f3ba7f 100644 --- a/lib/logic/outputs.dart +++ b/lib/logic/outputs.dart @@ -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 toJSON() { diff --git a/lib/widgets/system_navbar.dart b/lib/widgets/system_navbar.dart index 1a07bb04..bf5fafaa 100644 --- a/lib/widgets/system_navbar.dart +++ b/lib/widgets/system_navbar.dart @@ -20,6 +20,7 @@ class SystemNavbar extends StatefulWidget { final double padding; final double iconSize; final double axisExtent; + final double height; @override State createState() => _SystemNavbarState();