Skip to content

Commit

Permalink
πŸ› Remove condition for userMode for better UX
Browse files Browse the repository at this point in the history
  • Loading branch information
yinanazhou committed Jun 20, 2023
1 parent 103b69b commit c4ab4bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TextView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class TextView implements TextViewInterface {
document.querySelectorAll('.syl.selected .sylTextRect-display')
.forEach((rect: HTMLElement) => { rect.style.fill = 'red'; });

if (this.neonView.getUserMode() !== 'viewer' && this.neonView.TextEdit !== undefined) {
if (this.neonView.TextEdit !== undefined) {
this.neonView.TextEdit.initSelectByBBoxButton();
}

Expand Down

0 comments on commit c4ab4bd

Please sign in to comment.