mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 10:31:17 -08:00
Fix unused variables
This commit is contained in:
parent
8ccc27127b
commit
f6a40a2ffa
9 changed files with 14 additions and 21 deletions
|
|
@ -23,7 +23,6 @@ function imageMaskResize() {
|
|||
const nw = previewImage.naturalWidth;
|
||||
const nh = previewImage.naturalHeight;
|
||||
const portrait = nh > nw;
|
||||
const factor = portrait;
|
||||
|
||||
const wW = Math.min(w, portrait ? h/nh*nw : w/nw*nw);
|
||||
const wH = Math.min(h, portrait ? h/nh*nh : w/nw*nh);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue