improve selection hit rate

This commit is contained in:
Salem Yaslem 2023-06-06 04:10:26 +03:00
parent 1aa3fb203c
commit 7968a8c032

View File

@ -185,7 +185,7 @@ function stepUp(path: string) {
</template> </template>
</v-container> </v-container>
<VueSelecto :selectableTargets="['.selectable']" :dragContainer="dragContainer" :hitRate="20" <VueSelecto :selectableTargets="['.selectable']" :dragContainer="dragContainer" :hitRate="0"
:selectFromInside="false" :toggleContinueSelect="'ctrl'" @select="onSelectStart" @selectStart="onSelectStart" :selectFromInside="false" :toggleContinueSelect="'ctrl'" @select="onSelectStart" @selectStart="onSelectStart"
:get-element-rect="getElementInfo" @selectEnd="onSelectEnd" :select-by-click="false" /> :get-element-rect="getElementInfo" @selectEnd="onSelectEnd" :select-by-click="false" />