This commit is contained in:
zsviczian 2025-04-09 03:57:28 -04:00 committed by GitHub
commit a24257b034
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,