Skip to content

Commit 69192d3

Browse files
committed
chore: Add a comment explaining icon navigation.
1 parent 0ec2ce5 commit 69192d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/actions/enter.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ export class EnterAction {
152152
this.navigation.openToolboxOrFlyout(workspace);
153153
return true;
154154
} else if (curNode instanceof icons.Icon) {
155+
// Calling the icon's click handler will trigger its action, generally
156+
// opening a bubble of some sort. We then need to wait for the bubble to
157+
// appear before attempting to navigate into it.
155158
curNode.onClick();
156159
renderManagement.finishQueuedRenders().then(() => {
157160
cursor?.in();

0 commit comments

Comments
 (0)