diff --git a/css/styles.css b/css/styles.css index 7ba6e67..1dba537 100644 --- a/css/styles.css +++ b/css/styles.css @@ -699,7 +699,8 @@ body { position: relative; min-width: 600px; width: 75%; - height: 500px; + height: 75%; + min-height: 500px; border: 1px solid rgb(221, 221, 221); } @@ -724,7 +725,7 @@ body { min-width: 100px; } -.web-stitch .grid-stitch-setup .input-ctn label { +.web-stitch .grid-stitch-setup label { font-family: -apple-system, "system-ui", sans-serif; font-size: 14px; line-height: 30px; diff --git a/src/ui/Controller.mjs b/src/ui/Controller.mjs index 918a49f..e5541c7 100644 --- a/src/ui/Controller.mjs +++ b/src/ui/Controller.mjs @@ -300,6 +300,7 @@ export class Controller { this.paneCollection.addPane(pane); const viewer = new StitchVisualizer(); + viewer.setFuseMode(config.fuse_mode); this.stitchVisualizer = viewer; @@ -370,6 +371,7 @@ export class Controller { this.paneCollection.addPane(pane); const viewer = new StitchVisualizer(); + viewer.setFuseMode(config.fuse_mode); pane.getElement().appendChild(viewer.getElement()); this.addToRenderQueue(viewer); diff --git a/src/ui/GridStitchSetup.mjs b/src/ui/GridStitchSetup.mjs index f1ac9e8..3504e07 100644 --- a/src/ui/GridStitchSetup.mjs +++ b/src/ui/GridStitchSetup.mjs @@ -515,7 +515,8 @@ export class GridStitchSetup { generateStitchConfig() { const obj = { version: "1.0.0", - overlap_ratio: 0 + fuse_mode: this.ui.fuseMode.value, + overlap_ratio: 0, } const tiles = this.gridTiles;