diff --git a/tools/devtools/src/devtools_app/devtools_window/components_tab/details_window/details_window.xml b/tools/devtools/src/devtools_app/devtools_window/components_tab/details_window/details_window.xml index 5768e923..5fff5d1e 100644 --- a/tools/devtools/src/devtools_app/devtools_window/components_tab/details_window/details_window.xml +++ b/tools/devtools/src/devtools_app/devtools_window/components_tab/details_window/details_window.xml @@ -72,7 +72,7 @@ -
+
-
+
-
+
  • Expand children
  • Fold all children
  • diff --git a/tools/devtools/src/devtools_app/devtools_window/profiler_tab/event/event.xml b/tools/devtools/src/devtools_app/devtools_window/profiler_tab/event/event.xml index 24981a7f..3ad8f2ea 100644 --- a/tools/devtools/src/devtools_app/devtools_window/profiler_tab/event/event.xml +++ b/tools/devtools/src/devtools_app/devtools_window/profiler_tab/event/event.xml @@ -43,7 +43,7 @@
-
+
  • Inspect source code
  • diff --git a/tools/devtools/src/devtools_app/devtools_window/profiler_tab/event_node/event_node.xml b/tools/devtools/src/devtools_app/devtools_window/profiler_tab/event_node/event_node.xml index b90787d0..caa7e565 100644 --- a/tools/devtools/src/devtools_app/devtools_window/profiler_tab/event_node/event_node.xml +++ b/tools/devtools/src/devtools_app/devtools_window/profiler_tab/event_node/event_node.xml @@ -28,14 +28,14 @@
-
+
  • Expand children
  • Fold all children
  • Fold direct children
-
+
  • Inspect source code
  • diff --git a/tools/devtools/src/devtools_app/store/store.js b/tools/devtools/src/devtools_app/store/store.js index 8523b0ce..26898b66 100644 --- a/tools/devtools/src/devtools_app/store/store.js +++ b/tools/devtools/src/devtools_app/store/store.js @@ -14,8 +14,6 @@ export const store = reactive({ componentsToggleBlacklist: new Set(), }, contextMenu: { - top: 0, - left: 0, id: 0, activeMenu: -1, // Opens the context menu corresponding with the given menu html element @@ -30,9 +28,9 @@ export const store = reactive({ if (y + menuHeight > window.innerHeight) { y = window.innerHeight - menuHeight; } - this.left = x + "px"; + menu.style.left = x + "px"; // Need 25px offset because of the main navbar from the browser devtools - this.top = y - 25 + "px"; + menu.style.top = y - 25 + "px"; }, // Close the currently displayed context menu close() {