From 004ccbc378352e38450a1e21bf3f746834ae6ab6 Mon Sep 17 00:00:00 2001 From: Bruno Alves de Faria Date: Mon, 6 Nov 2017 17:10:15 -0200 Subject: [PATCH] Displaying the deletion confirm dialog over the mouse pointer --- .../client/compatibility/deleteLesionKeyboardTool.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Packages/ohif-lesiontracker/client/compatibility/deleteLesionKeyboardTool.js b/Packages/ohif-lesiontracker/client/compatibility/deleteLesionKeyboardTool.js index 69fecf3db..9ffc9bd0e 100644 --- a/Packages/ohif-lesiontracker/client/compatibility/deleteLesionKeyboardTool.js +++ b/Packages/ohif-lesiontracker/client/compatibility/deleteLesionKeyboardTool.js @@ -85,7 +85,8 @@ function keyDownCallback(event, eventData) { const dialogSettings = { class: 'themed', title: 'Delete measurements', - message: 'Are you sure you want to delete this measurement?' + message: 'Are you sure you want to delete this measurement?', + position: eventData.currentPoints.page }; // TODO= Refactor this so the confirmation dialog is an