fix: pending review fixes for sticky notes (#4493)

This commit is contained in:
Aakansha Doshi 2021-12-28 16:24:44 +05:30 committed by GitHub
parent bae0e985b2
commit 63ce5b82d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 26 deletions

View file

@ -2101,10 +2101,9 @@ class App extends React.Component<AppProps, AppState> {
const container =
shouldBind || parentCenterPosition
? getElementContainingPosition(
this.scene.getElements(),
this.scene.getElements().filter((ele) => !isTextElement(ele)),
sceneX,
sceneY,
"text",
)
: null;