mod: 倍速菜单行距缩小

This commit is contained in:
orz12
2024-03-02 12:54:22 +08:00
parent 73f7b354c3
commit 32533d6073

View File

@@ -197,10 +197,12 @@ class BottomControl extends StatelessWidget implements PreferredSizeWidget {
itemBuilder: (BuildContext context) { itemBuilder: (BuildContext context) {
return _.speedsList.map((double speed) { return _.speedsList.map((double speed) {
return PopupMenuItem<double>( return PopupMenuItem<double>(
height: 35,
padding: const EdgeInsets.only(left: 30),
value: speed, value: speed,
child: Text( child: Text(
"${speed}X", "${speed}X",
style: const TextStyle(color: Colors.white), style: const TextStyle(color: Colors.white, fontSize: 13),
semanticsLabel: "$speed倍速", semanticsLabel: "$speed倍速",
), ),
); );