@lvce-editor/renderer-process 30.33.1 → 30.33.3
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.
|
@@ -8470,6 +8470,7 @@ const create$Menu = () => {
|
|
|
8470
8470
|
$Menu.className = 'Menu';
|
|
8471
8471
|
$Menu.role = Menu;
|
|
8472
8472
|
$Menu.tabIndex = -1;
|
|
8473
|
+
$Menu.addEventListener(FocusOut, handleFocusOut);
|
|
8473
8474
|
// $ContextMenu.onmousedown = contextMenuHandleMouseDown
|
|
8474
8475
|
// TODO mousedown vs click? (click is usually better but mousedown is faster, why wait 100ms?)
|
|
8475
8476
|
// $Menu.addEventListener('mousedown', handleMouseDown)
|
|
@@ -8483,7 +8484,6 @@ const create$Menu = () => {
|
|
|
8483
8484
|
// passive: true,
|
|
8484
8485
|
// })
|
|
8485
8486
|
// $Menu.onkeydown = handleKeyDown
|
|
8486
|
-
// $Menu.addEventListener('focusout', handleFocusOut)
|
|
8487
8487
|
// $Menu.oncontextmenu = handleContextMenu
|
|
8488
8488
|
// $ContextMenu.onfocus = handleFocus
|
|
8489
8489
|
// $ContextMenu.onblur = handleBlur
|
|
@@ -8867,6 +8867,7 @@ const createFunctionalRoot = (id, uid = id, hasFunctionalEvents) => {
|
|
|
8867
8867
|
const instanceState = {
|
|
8868
8868
|
$Viewlet: document.createElement('div')
|
|
8869
8869
|
};
|
|
8870
|
+
set$5(instanceState.$Viewlet, uid);
|
|
8870
8871
|
set$a(uid, {
|
|
8871
8872
|
factory: module,
|
|
8872
8873
|
state: instanceState
|