diff --git a/Sources/justMUSIC/lib/main.dart b/Sources/justMUSIC/lib/main.dart index 9a70e71..f694b2a 100644 --- a/Sources/justMUSIC/lib/main.dart +++ b/Sources/justMUSIC/lib/main.dart @@ -79,12 +79,14 @@ class _MyAppState extends State { Widget build(BuildContext context) { SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky); Paint.enableDithering = true; - + final shortcuts = Map.of(WidgetsApp.defaultShortcuts) + ..remove(LogicalKeySet(LogicalKeyboardKey.escape)); return ScreenUtilInit( useInheritedMediaQuery: true, builder: (context, child) { return MaterialApp( + shortcuts: shortcuts, color: bgColor, routes: { '/welcome': (context) => const WellcomeScreen(), diff --git a/Sources/justMUSIC/web/index.html b/Sources/justMUSIC/web/index.html index 7910af9..8353358 100644 --- a/Sources/justMUSIC/web/index.html +++ b/Sources/justMUSIC/web/index.html @@ -57,35 +57,4 @@ -