Skip to content

Commit

Permalink
Don't show the popup if the cursor header is shown.
Browse files Browse the repository at this point in the history
It is not visually good.

Signed-off-by: Gökay Şatır <[email protected]>
Change-Id: I2c46acb945fa215b1b2322e212b9ef2089020c49
  • Loading branch information
gokaysatir authored and timar committed Jan 21, 2025
1 parent 3852699 commit bbb6e19
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions browser/src/canvas/sections/OtherViewCellCursorSection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ class OtherViewCellCursorSection extends CanvasSectionObject {
}

showUsernamePopUp() {
const textCursorSectionName = CursorHeaderSection.namePrefix + this.sectionProperties.viewId;

if (app.sectionContainer.doesSectionExist(textCursorSectionName))
return; // Don't show the popup if the cursor header is shown.

if (this.sectionProperties.popUpContainer) {
this.adjustPopUpPosition();

Expand Down

0 comments on commit bbb6e19

Please sign in to comment.