aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-01-03 19:13:47 +0800
committercrupest <crupest@outlook.com>2021-01-03 19:13:47 +0800
commit2037b9ca65ab17e60d5b0c4788a754a580fd54b6 (patch)
tree703889b21add74469d478b2925aacbeaa936b573 /FrontEnd/src
parenta19b19f866fd85aaae9351bb898ab2898d202a47 (diff)
downloadtimeline-2037b9ca65ab17e60d5b0c4788a754a580fd54b6.tar.gz
timeline-2037b9ca65ab17e60d5b0c4788a754a580fd54b6.tar.bz2
timeline-2037b9ca65ab17e60d5b0c4788a754a580fd54b6.zip
...
Diffstat (limited to 'FrontEnd/src')
-rw-r--r--FrontEnd/src/app/index.sass3
-rw-r--r--FrontEnd/src/app/views/home/TimelineBoard.tsx2
2 files changed, 4 insertions, 1 deletions
diff --git a/FrontEnd/src/app/index.sass b/FrontEnd/src/app/index.sass
index 4c57030d..87616998 100644
--- a/FrontEnd/src/app/index.sass
+++ b/FrontEnd/src/app/index.sass
@@ -85,3 +85,6 @@ textarea
color: $value
&:hover
color: adjust-color($value, $lightness: +15%)
+
+.touch-action-none
+ touch-action: none
diff --git a/FrontEnd/src/app/views/home/TimelineBoard.tsx b/FrontEnd/src/app/views/home/TimelineBoard.tsx
index 083f4034..c3f01aed 100644
--- a/FrontEnd/src/app/views/home/TimelineBoard.tsx
+++ b/FrontEnd/src/app/views/home/TimelineBoard.tsx
@@ -55,7 +55,7 @@ const TimelineBoardItem: React.FC<TimelineBoardItemProps> = ({
onClick={actions.onDelete}
/>
<i
- className="bi-grip-vertical icon-button text-gray px-2"
+ className="bi-grip-vertical icon-button text-gray px-2 touch-action-none"
onPointerDown={(e) => {
e.currentTarget.setPointerCapture(e.pointerId);
actions.onMove.start(e);