Skip to content

Commit 28d7fa9

Browse files
committed
[demo] Fix typo, add log
1 parent a40bd35 commit 28d7fa9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/pacs/viewer.ui.brush.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,13 @@ test.toolFeaturesUI.Brush = function (app, _toolConfig) {
4141
res.appendChild(controlDiv);
4242

4343
// if no segmentations, use default
44-
if (!document.getElementById('segmentations-list')) {
44+
if (!document.getElementById('segmentation-list')) {
4545
const features = {
4646
brushMode: 'add',
4747
selectedSegmentNumber: 1,
4848
createMask: true
4949
};
50+
console.log('set tool features [add-default]', features);
5051
app.setToolFeatures(features);
5152
}
5253

0 commit comments

Comments
 (0)