mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-22 11:41:09 +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