refactor: remove legacy Tauri desktop support
Electron updater now uses Electron release metadata only Removed legacy Tauri package and migration workflow Replaced Tauri shim usage with the desktop bridge
This commit is contained in:
@@ -5,10 +5,9 @@ import type React from 'react';
|
||||
* Uses both `isComposing` and the `keyCode === 229` fallback.
|
||||
*
|
||||
* Note: `keyCode` is deprecated, but `229` remains a practical fallback for
|
||||
* some WebKit-based environments (including Tauri WebView) where composition
|
||||
* some WebKit-based environments where composition
|
||||
* events can be ordered unexpectedly.
|
||||
*/
|
||||
export const isIMECompositionEvent = (e: React.KeyboardEvent): boolean => {
|
||||
return e.nativeEvent.isComposing || e.nativeEvent.keyCode === 229;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user