mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-11 08:00:21 +00:00
fixed bug in context menu when fullscreen
This commit is contained in:
@@ -10253,7 +10253,11 @@ LGraphNode.prototype.executeAction = function(action)
|
||||
if (!root_document) {
|
||||
root_document = document;
|
||||
}
|
||||
root_document.body.appendChild(root);
|
||||
|
||||
if( root_document.fullscreenElement )
|
||||
root_document.fullscreenElement.appendChild(root);
|
||||
else
|
||||
root_document.body.appendChild(root);
|
||||
|
||||
//compute best position
|
||||
var left = options.left || 0;
|
||||
|
||||
Reference in New Issue
Block a user