Improve UI

This commit is contained in:
DanyLE
2022-12-16 21:17:20 +01:00
parent 98b3f7c8c9
commit df746c7d69
3 changed files with 4 additions and 3 deletions

View File

@ -472,7 +472,7 @@ namespace OS {
.css("user-select", "none")
.css("cursor", "default");
$(this.refs.dragger).on("pointerdown", (e) => {
//e.preventDefault();
e.originalEvent.preventDefault();
const offset = $(this).offset();
offset.top = e.clientY - offset.top;
offset.left = e.clientX - offset.left;