-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
samples\editor\index.html:80
// Add new region to the editor when new region is created
editor.onSelectionEnd = (regionData) => {
let id = (incrementalRegionID++).toString();
// Generate random tag
let tags = generateRandomTagsDescriptor();
editor.addRegion(id, regionData, tags);
const v = editor.scaleRegionToSourceSize(regionData)
// This v is undefined ??
console.log("TEST_09D164605_2023Y_05M v"", v)
console.log(Created ${id}: {${regionData.x}, ${regionData.y}} x {${regionData.width}, ${regionData.height}});
};
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels