diff --git a/pyproject.toml b/pyproject.toml index 777c9d0..a0ecc0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "kaytool" description ="KayTool enhances ComfyUI workflow efficiency with practical tools, including: image processing (resize, color, blur, expand, merge, crop), background/mask tasks via BiRefNet/RemBG, wireless data transfer (Get & Out), AI translation (Tencent/Baidu), dynamic math operations, flexible text handling, precision sliders, metadata/color profile-supported image saving, batch processing via image folder loading, canvas workflow node map export as PNG with embedded metadata, quick Run options via right-click (Run Group/Node), node alignment toolbar with custom styled styles, and custom ComfyUI logo integration." -version = "0.50.6" +version = "0.50.7" license = {file = "LICENSE"} dependencies = ["rembg, timm"] diff --git a/web/nodealign.js b/web/nodealign.js index 47d2f8a..277e186 100644 --- a/web/nodealign.js +++ b/web/nodealign.js @@ -85,10 +85,20 @@ const KayNodeAlignmentManager = { cursor: pointer; padding: 0; border-radius: 4px; - transition: background-color 0.3s ease-in-out, transform 0.1s ease; + transition: background-color 0.3s ease-in-out; flex-shrink: 0; + position: relative; + overflow: hidden; + } + .kay-align-button svg { + width: 66%; + height: 66%; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + transition: transform 0.1s ease; } - .kay-align-button svg { width: 66%; height: 66%; } .kay-toolbar-divider { width: 3.2px; height: 15px;