We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5fd13b commit 8c4efbfCopy full SHA for 8c4efbf
electron_app/src/components/Outpainting.vue
@@ -342,9 +342,19 @@ export default {
342
imgg.setAttrs({
343
x: that.box.x(),
344
y: that.box.y(),
345
- width: that.box.width(),
346
- height: that.box.height(),
+ scaleX: scale,
+ scaleY: scale,
347
});
348
+
349
350
+ if (imgg.width() == imgg.height()){
351
+ imgg.setAttrs({
352
+ width: that.box.width(),
353
+ height: that.box.height(),
354
+ });
355
+ }
356
357
358
that.images_layer.add(imgg);
359
360
let box = new Konva.Rect({
0 commit comments