File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " mind-elixir" ,
3- "version" : " 5.3.4 " ,
3+ "version" : " 5.3.5 " ,
44 "type" : " module" ,
55 "description" : " Mind elixir is a free open source mind map core." ,
66 "keywords" : [
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ export default function (mind: MindElixirInstance) {
152152 // 支持空格+左键拖拽
153153 const isSpaceDrag = mind . spacePressed && e . button === 0 && e . pointerType === 'mouse'
154154 const mouseMoveButton = mind . mouseSelectionButton === 0 ? 2 : 0
155- const isNormalDrag = e . button === mouseMoveButton && e . pointerType === 'mouse'
155+ const isNormalDrag = ( e . button === mouseMoveButton && e . pointerType === 'mouse' ) || e . pointerType === 'touch '
156156
157157 if ( ! isSpaceDrag && ! isNormalDrag ) return
158158
You can’t perform that action at this time.
0 commit comments