This commit is contained in:
zombieyang
2025-03-09 21:35:03 +08:00
parent 0ea771fce9
commit 0db37883ce
11 changed files with 71 additions and 50 deletions
+12
View File
@@ -1,3 +1,15 @@
## [1.7.2] - 2025-03-09
1. fix: Length aaaaa != length bbbbb bug fix
2. fix: Unexpectly trigger livepainting after using preview sent.
3. fix: Document selection was not work in Comfy side
4. fix: unexpected cache of ParseLayerInfo and GetDocument Node
5. optimize: bigger run button
6. optimize: progress bar for workflow edit interface
7. optimize: add use layer inversed for LoadMask
8. optimize: new UX for LoadMask and LoadImage
9. optimize: add tips when webview edit is disabled
10. optimize: add PS version limited tips when using get selection
## [1.7.1] - 2025-03-01
1. optimize: when PS is connecting, show the tips for Comfy side node not installed or Comfy URL is wrong.
2. optimize: show Comfy address in sdppp popup
+1 -1
View File
@@ -1 +1 @@
var _0x5d8382=_0x7a99;function _0x7a99(_0x47cc6e,_0x243a09){var _0x5d3268=_0x5d32();return _0x7a99=function(_0x7a99e2,_0x74b059){_0x7a99e2=_0x7a99e2-0x93;var _0x403d25=_0x5d3268[_0x7a99e2];return _0x403d25;},_0x7a99(_0x47cc6e,_0x243a09);}function _0x5d32(){var _0x538f93=['7lHequv','11BNUkzI','413656czIpmG','6bGqgPe','1346586VdSNDf','394112wuluFk','1485280vQASPk','undefined','740181knynGH','153XpdQaM','12932470UQvNKu','2979740jxgSgT'];_0x5d32=function(){return _0x538f93;};return _0x5d32();}(function(_0x5e4467,_0x44d7dd){var _0x286056=_0x7a99,_0x14b3cf=_0x5e4467();while(!![]){try{var _0x22f65e=-parseInt(_0x286056(0x9e))/0x1+-parseInt(_0x286056(0x9b))/0x2*(parseInt(_0x286056(0x99))/0x3)+parseInt(_0x286056(0x95))/0x4+parseInt(_0x286056(0x9c))/0x5+parseInt(_0x286056(0x9a))/0x6*(parseInt(_0x286056(0x96))/0x7)+-parseInt(_0x286056(0x98))/0x8*(parseInt(_0x286056(0x93))/0x9)+parseInt(_0x286056(0x94))/0xa*(parseInt(_0x286056(0x97))/0xb);if(_0x22f65e===_0x44d7dd)break;else _0x14b3cf['push'](_0x14b3cf['shift']());}catch(_0x28a2a8){_0x14b3cf['push'](_0x14b3cf['shift']());}}}(_0x5d32,0x85635));if(typeof gradioApp!=_0x5d8382(0x9d)){}
var _0x2b6f4c=_0x194c;(function(_0x3d140a,_0x4c9474){var _0x47b979=_0x194c,_0x180904=_0x3d140a();while(!![]){try{var _0x2cab17=-parseInt(_0x47b979(0xcc))/0x1+parseInt(_0x47b979(0xc9))/0x2+-parseInt(_0x47b979(0xca))/0x3+-parseInt(_0x47b979(0xcb))/0x4*(parseInt(_0x47b979(0xce))/0x5)+-parseInt(_0x47b979(0xcd))/0x6*(parseInt(_0x47b979(0xc6))/0x7)+parseInt(_0x47b979(0xcf))/0x8+parseInt(_0x47b979(0xc7))/0x9;if(_0x2cab17===_0x4c9474)break;else _0x180904['push'](_0x180904['shift']());}catch(_0x841287){_0x180904['push'](_0x180904['shift']());}}}(_0x11ae,0x84415));function _0x194c(_0x239f7,_0x448145){var _0x11ae34=_0x11ae();return _0x194c=function(_0x194c96,_0x1ac393){_0x194c96=_0x194c96-0xc6;var _0x543fd4=_0x11ae34[_0x194c96];return _0x543fd4;},_0x194c(_0x239f7,_0x448145);}if(typeof gradioApp!=_0x2b6f4c(0xc8)){}function _0x11ae(){var _0x186bc7=['1035742ItdAtk','2632017hBXjYT','35036Hylbcd','705171uVpjkQ','102jXvVRl','510UxmhYa','1325048nzSGVO','153629WYfAaj','24365178IWlMiU','undefined'];_0x11ae=function(){return _0x186bc7;};return _0x11ae();}
File diff suppressed because one or more lines are too long
+11
View File
@@ -152,6 +152,17 @@ export default function(sdppp) {
}
})
sdppp.widgetable.add("CheckpointLoaderSimple", node=> {
return {
title: node.title,
widgets: [{
value: node.widgets[0].value,
outputType: "combo",
options: node.widgets[0].options
}]
}
})
// 替换为Parameter处理
sdppp.widgetable.add('ETN_Parameter', (node) => {
const outputTypeMap = {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "sdppp",
"version": "1.7.1",
"version": "1.7.2",
"scripts": {
"watch": "nodemon -w typescripts/src -e mjs,js,jsx,mts,ts,tsx,json,css,html -x node typescripts/src/build/index.build.mjs",
"build": "NODE_ENV=production node typescripts/src/build/index.build.mjs && bash typescripts/src/build/package.sh"
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -1,7 +1,7 @@
{
"id": "sd-ppp",
"name": "SD-PPP",
"version": "1.7.1",
"version": "1.7.2",
"main": "index.html",
"manifestVersion": 5,
"host": {
@@ -37,7 +37,7 @@
"type": "panel",
"id": "sdppp-connect",
"label": {
"default": "SD-PPP 1.7.1"
"default": "SD-PPP 1.7.2"
},
"minimumSize": {
"width": 300,
+37 -39
View File
@@ -25,10 +25,12 @@ a {
color: var(--uxp-host-text-color);
text-decoration: underline;
}
sp-label.error-label {
color: lightcoral;
white-space: normal;
}
sp-progressbar {
width: 100%;
}
@@ -88,12 +90,14 @@ sp-progressbar {
align-items: center;
margin: 5px 0;
}
.header-right {
flex: 1;
display: flex;
flex-direction: column;
justify-content: start;
}
.connect-box {
width: 100%;
display: flex;
@@ -113,17 +117,20 @@ sp-progressbar {
align-items: center;
line-height: 30px;
}
.identifier-bar {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.identifier-bar-right {
display: flex;
flex-direction: row;
align-items: end;
}
.identifier-bar-right a {
margin-left: 5px;
}
@@ -248,6 +255,7 @@ sp-progressbar {
width: 100%;
height: 100%;
}
.workflow-edit-field-widgets .image-widget .image-widget-left .image-widget-image-empty {
background: white;
}
@@ -257,28 +265,37 @@ sp-progressbar {
flex: 1 1 0;
margin-left: 5px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
flex-direction: column;
align-items: start;
justify-content: start;
}
.workflow-edit-field-widgets .image-widget .image-widget-right .image-widget-lock-block {
color: var(--uxp-host-text-color-secondary);
.widget-mode-selection {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
background: rgba(127, 127, 127, .4);
padding: 5px;
justify-content: stretch;
background: var(--uxp-host-border-color);
padding: 2px;
margin-bottom: 5px;
}
.widget-mode-selection-button {
border: 1px solid var(--uxp-host-border-color);
color: var(--uxp-host-text-color-secondary);
/* background-color: var(--uxp-host-background-color); */
font-weight: normal;
cursor: pointer;
margin-bottom: -15px;
font-size: 12px;
margin: 0 1px;
}
.workflow-edit-field-widgets .image-widget .image-widget-right .image-widget-lock-block:hover {
background: rgba(127, 127, 127, .6);
}
.widget-mode-selection-button.selected {
background-color: var(--uxp-host-widget-hover-background-color);
color: var(--uxp-host-widget-hover-text-color);
font-weight: bold;
}
.sdppp-dropdown-widget {
@@ -362,22 +379,26 @@ sp-progressbar {
flex-direction: row;
justify-content: space-between;
}
.workflow-edit-controls-left {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-around;
}
.workflow-edit-controls-left .workflow-edit-button-line {
display: flex;
flex-direction: row;
justify-content: space-between;
}
.workflow-edit-controls-right sp-action-button {
width: 72px;
height: 72px;
margin-left: 2px;
}
.workflow-run-status {
flex: 1;
display: flex;
@@ -536,7 +557,8 @@ sp-progressbar {
justify-content: center;
}
.action-button:hover, .action-button.highlight {
.action-button:hover,
.action-button.highlight {
background-color: var(--uxp-host-text-color-secondary);
color: var(--uxp-host-background-color);
}
@@ -595,6 +617,7 @@ sp-progressbar {
cursor: pointer;
background-color: var(--uxp-host-label-text-color);
}
/* .sdppp-primitive-string-widget p:hover {
background-color: rgba(127, 127, 127, .1);
} */
@@ -645,29 +668,4 @@ sp-progressbar {
justify-content: space-around;
width: 100%;
padding-bottom: 20px;
}
.widget-mode-selection {
display: flex;
flex-direction: row;
justify-content: stretch;
background: var(--uxp-host-border-color);
padding: 2px;
}
.widget-mode-selection-button {
border: 1px solid var(--uxp-host-border-color);
color: var(--uxp-host-text-color-secondary);
background-color: var(--uxp-host-background-color);
font-weight: normal;
cursor: pointer;
font-size: 12px;
margin: 0 1px;
}
.widget-mode-selection-button.selected {
background-color: var(--uxp-host-widget-hover-background-color);
color: var(--uxp-host-widget-hover-text-color);
font-weight: bold;
}
}
Binary file not shown.
+4 -4
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "sd-ppp"
description = "getting/sending picture from/to Photoshop with a simple connection. Make Photoshop become the workspace of your ComfyUI."
version = "1.7.1"
version = "1.7.2"
license = { file = "LICENSE" }
[project.urls]