fix: flip linear elements after redesign (#5538)

This commit is contained in:
Aakansha Doshi 2022-08-04 18:41:31 +05:30 committed by GitHub
parent 0a5da0269f
commit 3d9d398378
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 16 deletions

View file

@ -447,7 +447,10 @@ export const _renderScene = (
renderConfig.zoom,
"mouse", // when we render we don't know which pointer type so use mouse
);
if (!appState.viewModeEnabled) {
if (
!appState.viewModeEnabled &&
!isLinearElement(locallySelectedElements[0])
) {
renderTransformHandles(
context,
renderConfig,