Skip to content

Commit 9e54784

Browse files
committed
fix: show more options box at the correct position when live preview panel is resized
1 parent 717a498 commit 9e54784

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,6 +1164,11 @@ function RemoteFunctions(config) {
11641164
if (_hoverHighlight) {
11651165
_hoverHighlight.redraw();
11661166
}
1167+
if (_nodeMoreOptionsBox) {
1168+
const element = _nodeMoreOptionsBox.element;
1169+
_nodeMoreOptionsBox.remove();
1170+
_nodeMoreOptionsBox = new NodeMoreOptionsBox(element);
1171+
}
11671172
}
11681173

11691174
window.addEventListener("resize", redrawHighlights);

0 commit comments

Comments
 (0)