Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
scripta
eScriptorium
Commits
57af9eb3
Commit
57af9eb3
authored
Aug 14, 2020
by
Robin Tissot
Browse files
Fix to overlaping regions selection cycling.
parent
5b60dead
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/escriptorium/static/js/baseline.editor.js
View file @
57af9eb3
...
...
@@ -1182,8 +1182,10 @@ class Segmenter {
for
(
let
i
=
0
;
i
<
this
.
regions
.
length
;
i
++
)
{
if
(
this
.
selecting
.
selected
&&
this
.
regions
[
i
]
!=
this
.
selecting
)
{
let
hit
=
this
.
regions
[
i
].
polygonPath
.
hitTest
(
event
.
point
);
if
(
hit
)
this
.
selecting
=
this
.
regions
[
i
];
break
;
if
(
hit
)
{
this
.
selecting
=
this
.
regions
[
i
];
break
;
}
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment