Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewprivate authored Sep 10, 2024
1 parent f7fc398 commit e7cf2b0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand All @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions src/ui/Controller.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ export class Controller {
this.paneCollection.addPane(pane);

const viewer = new StitchVisualizer();
viewer.setFuseMode(config.fuse_mode);

this.stitchVisualizer = viewer;

Expand Down Expand Up @@ -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);

Expand Down
3 changes: 2 additions & 1 deletion src/ui/GridStitchSetup.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e7cf2b0

Please sign in to comment.