@lvce-editor/renderer-process 30.72.0 → 30.72.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4179,6 +4179,7 @@ const clear$4 = () => {
4179
4179
  rpcs.clear();
4180
4180
  viewRpcIds.clear();
4181
4181
  };
4182
+ const getRpcId = uid => viewRpcIds.get(uid);
4182
4183
  const get$8 = uid => {
4183
4184
  const rpcId = viewRpcIds.get(uid);
4184
4185
  return rpcId === undefined ? undefined : rpcs.get(rpcId);
@@ -4933,7 +4934,9 @@ const info = (...args) => {
4933
4934
 
4934
4935
  const executeViewletCommand$1 = 'Viewlet.executeViewletCommand';
4935
4936
  const send = (method, uid, ...args) => {
4936
- if (method === executeViewletCommand$1) {
4937
+ // Editor shortcuts still execute through renderer-worker. Keep their input
4938
+ // events on the same port so typing cannot overtake a preceding shortcut.
4939
+ if (method === executeViewletCommand$1 && getRpcId(uid) !== 'Editor') {
4937
4940
  const rpc = get$8(uid);
4938
4941
  if (rpc) {
4939
4942
  rpc.send(method, uid, ...args);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "30.72.0",
3
+ "version": "30.72.1",
4
4
  "keywords": [
5
5
  "lvce-editor",
6
6
  "renderer-process"