Handle for interaction outside of the ViewportDialog (default to cancel)

This commit is contained in:
dannyrb committed 2020-06-29 23:29:40 -04:00
1 parent 9403a091d9
commit a0b0f365dd
7 files changed
+64 -7

No files matched your search

@@ -50,6 +50,10 @@ function _askTrackMeasurements(UIViewportDialogService, viewportIndex) {
message,
actions,
onSubmit,
onOutsideClick: () => {
UIViewportDialogService.hide();
resolve(RESPONSE.CANCEL);
},
});
});
}