Skip to content

Commit

Permalink
Merge pull request #4865 from dodona-edu/enhance/expand-annotation-bu…
Browse files Browse the repository at this point in the history
…tton

Auto expand annotation button when a selection is active
  • Loading branch information
jorg-vr authored Aug 3, 2023
2 parents b80b4f7 + c99b8af commit 2651642
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export class CreateAnnotationButton extends ShadowlessLitElement {
// If the range exists, the button should only be shown on the last row of the range
// Or on the row where the drag started if the drag is still in progress
if (this.isRangeEnd || this.isDragStart) {
classes += "show";
classes += "show expanded";
} else {
classes += "hide";
}
Expand Down

0 comments on commit 2651642

Please sign in to comment.