mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
check cmd key
Closes #1630 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -87,6 +87,9 @@ class PlayerFocus extends StatelessWidget {
|
||||
|
||||
final isKeyQ = key == LogicalKeyboardKey.keyQ;
|
||||
if (isKeyQ || key == LogicalKeyboardKey.keyR) {
|
||||
if (HardwareKeyboard.instance.isMetaPressed) {
|
||||
return true;
|
||||
}
|
||||
if (!plPlayerController.isLive) {
|
||||
if (event is KeyDownEvent) {
|
||||
introController!.onStartTriple();
|
||||
|
||||
Reference in New Issue
Block a user