mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-29 03:10:51 +00:00
bulk-operations v0.1 add opcaity for draged items
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<RenameItem/>
|
||||
|
||||
<!-- Multi Select Drag & Drop UI -->
|
||||
<MultiSelected :draged-ghost="draged" :draged-item="dragedItem" v-show="draged" id="multi-select-ui"/>
|
||||
<MultiSelected :is-ghost="true" v-show="draged" id="multi-select-ui"/>
|
||||
|
||||
<!--Mobile Menu-->
|
||||
<MobileMenu/>
|
||||
@@ -189,7 +189,6 @@
|
||||
currentPage: undefined,
|
||||
homeDirectory: undefined,
|
||||
draged: false,
|
||||
dragedItem: undefined
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -269,15 +268,8 @@
|
||||
},
|
||||
created() {
|
||||
|
||||
// Handle default scrollbar for the macOS
|
||||
if (!navigator.userAgent.indexOf('Mac OS X') != -1) {
|
||||
let body = document.body
|
||||
body.classList.add('scroll-bar')
|
||||
}
|
||||
|
||||
// Hnadle Drag & Drop Ghost show
|
||||
events.$on('dragstart', (data) => {
|
||||
this.dragedItem = data
|
||||
setTimeout(() => {
|
||||
this.draged = true
|
||||
}, 50);
|
||||
|
||||
Reference in New Issue
Block a user