mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-02 16:52:31 +00:00
improve fix for single select
This commit is contained in:
@@ -77,8 +77,8 @@
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
e.originalEvent &&
|
e.originalEvent &&
|
||||||
$selection.size > 1 &&
|
!(e.originalEvent.ctrlKey || e.originalEvent.metaKey || e.originalEvent.shiftKey) &&
|
||||||
!(e.originalEvent.ctrlKey || e.originalEvent.metaKey || e.originalEvent.shiftKey)
|
($selection.size > 1 || !$selection.has(item.extend(getRealId(changed[0]))))
|
||||||
) {
|
) {
|
||||||
// Fix bug that sometimes causes a single select to be treated as a multi-select
|
// Fix bug that sometimes causes a single select to be treated as a multi-select
|
||||||
$selection.clear();
|
$selection.clear();
|
||||||
|
Reference in New Issue
Block a user