Skip to content

Commit fffec3e

Browse files
committed
fix some types from renderer now
1 parent 93b0bf2 commit fffec3e

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

renderer/src/web/Config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,7 @@ function upgradeConfig(_config: Config): Config {
680680
height: null,
681681
},
682682
};
683+
itemSearch.scale = null;
683684

684685
config.configVersion = 35;
685686
}
@@ -822,6 +823,7 @@ function getConfigForHost(): HostConfig {
822823
type: "computer-vision",
823824
target: "remnants",
824825
bbox: itemSearch.boundingBoxes.remnants,
826+
scale: itemSearch.scale,
825827
},
826828
});
827829
}

renderer/src/web/item-search/WidgetItemSearch.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ export default {
165165
height: null,
166166
},
167167
},
168+
scale: null,
168169
};
169170
},
170171
} satisfies WidgetSpec,

renderer/src/web/item-search/widget.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ export interface ItemSearchWidget extends Widget {
1111
height: number | null;
1212
};
1313
};
14+
scale: number | null;
1415
}

0 commit comments

Comments
 (0)