Skip to content

Commit 4816b32

Browse files
committed
allow copying text from info box
1 parent 4bad716 commit 4816b32

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

css/ui.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ body {
7474
border-style: solid;
7575
border-width: 1px;
7676
overflow: hidden;
77+
user-select:text;
7778
}
7879

7980
.tcv_cad_info_wrapper {

src/slider.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,6 @@ class Slider {
5353
}
5454

5555
sliderChange = (e) => {
56-
57-
// // Another option
58-
// if (window.getSelection) {
59-
// window.getSelection().removeAllRanges();
60-
// } else if (document.selection) {
61-
// document.selection.empty();
62-
// }
63-
6456
const value = e.target.value;
6557
this.input.value = Math.round(1000 * value) / 1000;
6658
this._handle(this.type, this.index, this.input.value);

0 commit comments

Comments
 (0)