Skip to content

Commit

Permalink
enhance(grapher): disable opening entity selector by clicking on a ki…
Browse files Browse the repository at this point in the history
…ne label on mobile
  • Loading branch information
sophiamersmann committed Oct 20, 2023
1 parent baa719c commit 5d44655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@ourworldindata/grapher/src/core/Grapher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2846,7 +2846,7 @@ export class Grapher
}

@computed get startSelectingWhenLineClicked(): boolean {
return this.showAddEntityButton
return this.showAddEntityButton && !this.isMobile
}

// For now I am only exposing this programmatically for the dashboard builder. Setting this to true
Expand Down

0 comments on commit 5d44655

Please sign in to comment.