Commit 7f0ec0e
committed
feat: add node tooltips and fix canvas layout in ResolutionMaster
- aztoolkit.py: add tooltip annotations to every input field (width, height,
auto_detect, rescale_mode, rescale_value, input_image, latent_type); add
OUTPUT_TOOLTIPS tuple and DESCRIPTION constant for builder metadata.
- js/ResolutionMaster.js: correct collapsed-extra-controls padding (16→4)
and compute bottom-content height separately when extra controls are active
so the canvas no longer collapses when toggled; track lastCanvasBounds and
draw info text below the canvas bounds rather than the default position;
simplify input_image label/name management by assigning displayName directly
instead of storing/restoring pre-mutation state; fully override
getInputLabel in deactivateNodeExtensions so slot 0 always returns
'input_image' without side-effects.1 parent 7053b78 commit 7f0ec0e
2 files changed
Lines changed: 35 additions & 38 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | | - | |
| 35 | + | |
35 | 36 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
44 | | - | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
53 | 62 | | |
54 | 63 | | |
55 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
231 | 233 | | |
232 | 234 | | |
233 | 235 | | |
| |||
249 | 251 | | |
250 | 252 | | |
251 | 253 | | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | 254 | | |
263 | 255 | | |
264 | 256 | | |
| |||
267 | 259 | | |
268 | 260 | | |
269 | 261 | | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
282 | 265 | | |
283 | 266 | | |
284 | 267 | | |
| |||
294 | 277 | | |
295 | 278 | | |
296 | 279 | | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
302 | 286 | | |
303 | 287 | | |
304 | 288 | | |
| |||
469 | 453 | | |
470 | 454 | | |
471 | 455 | | |
472 | | - | |
473 | | - | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
474 | 461 | | |
475 | 462 | | |
476 | 463 | | |
| |||
733 | 720 | | |
734 | 721 | | |
735 | 722 | | |
| 723 | + | |
736 | 724 | | |
737 | 725 | | |
738 | 726 | | |
| |||
0 commit comments