mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: 倍速菜单行距缩小
This commit is contained in:
@@ -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倍速",
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user