Displaying the deletion confirm dialog over the mouse pointer
This commit is contained in:
parent
5af752a122
commit
004ccbc378
@ -85,7 +85,8 @@ function keyDownCallback(event, eventData) {
|
|||||||
const dialogSettings = {
|
const dialogSettings = {
|
||||||
class: 'themed',
|
class: 'themed',
|
||||||
title: 'Delete measurements',
|
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
|
// TODO= Refactor this so the confirmation dialog is an
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user