The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Fix scaled position
pythongosssss1a322ca67a29
diff --git a/web/extensions/core/contextMenuFilter.js b/web/extensions/core/contextMenuFilter.jsindex 8aac84d5b..fa4cb2422 100644--- a/web/extensions/core/contextMenuFilter.js+++ b/web/extensions/core/contextMenuFilter.js@@ -111,9 +111,13 @@ app.registerExtension({// Focus the filter box when openingfilter.focus();- // If the top is off screen then shift the element- if (parseInt(this.root.style.top) < 0) {- this.root.style.top = 0;+ const rect = this.root.getBoundingClientRect();++ // If the top is off screen then shift the element with scaling applied+ if (rect.top < 0) {+ const scale = 1 - this.root.getBoundingClientRect().height / this.root.clientHeight;+ const shift = (this.root.clientHeight * scale) / 2;+ this.root.style.top = -shift + "px";}});}