mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-01 08:12:32 +00:00
fix selection fix
This commit is contained in:
@@ -62,7 +62,11 @@
|
||||
);
|
||||
});
|
||||
|
||||
if ($selection.size > 1 && !(e.ctrlKey || e.metaKey || e.shiftKey)) {
|
||||
if (
|
||||
e.originalEvent &&
|
||||
$selection.size > 1 &&
|
||||
!(e.originalEvent.ctrlKey || e.originalEvent.metaKey || e.originalEvent.shiftKey)
|
||||
) {
|
||||
// Fix bug that sometimes causes a single select to be treated as a multi-select
|
||||
$selection.clear();
|
||||
$selection.set(item.extend(getRealId(changed[0])), true);
|
||||
|
Reference in New Issue
Block a user