mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Added comment
This commit is contained in:
parent
faa97e148b
commit
0f6bcb7205
1 changed files with 2 additions and 0 deletions
|
@ -971,6 +971,8 @@ class App extends React.Component<{}, AppState> {
|
|||
CANVAS_WINDOW_OFFSET_TOP +
|
||||
elementAtPosition.height / 2;
|
||||
} else {
|
||||
// Element must be searched from the end
|
||||
// to pick element with the highest z-index
|
||||
const elementClickedInside = elements
|
||||
.slice()
|
||||
.reverse()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue