Added comment

This commit is contained in:
hazam 2020-01-09 00:34:53 +05:00
parent faa97e148b
commit 0f6bcb7205

View file

@ -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()