This commit is contained in:
zsviczian 2025-04-14 17:12:43 +10:00 committed by GitHub
commit 8ae6d5c1aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6318,7 +6318,7 @@ class App extends React.Component<AppProps, AppState> {
// set touch moving for mobile context menu
private handleTouchMove = (event: React.TouchEvent<HTMLCanvasElement>) => {
invalidateContextMenu = true;
this.resetContextMenuTimer();
};
handleHoverSelectedLinearElement(
@ -10484,6 +10484,10 @@ class App extends React.Component<AppProps, AppState> {
return;
}
if (this.state.isResizing) {
return;
}
const { x, y } = viewportCoordsToSceneCoords(event, this.state);
const element = this.getElementAtPosition(x, y, {
preferSelected: true,