Skip to content

Commit

Permalink
Merge pull request karaoke-dev#2132 from andy840119/create-popover-fo…
Browse files Browse the repository at this point in the history
…r-ruby-blueprint

Adjust popover position.
  • Loading branch information
andy840119 authored Sep 24, 2023
2 parents aa67f3f + a3de28a commit 30339b1
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ public partial class RubyTagSelectionBlueprint : TextTagSelectionBlueprint<RubyT
public RubyTagSelectionBlueprint(RubyTag item)
: base(item)
{
// Instead of adding the margin to the popover, use this way to make the popover not block the lyric text.
RelativeSizeAxes = Axes.Y;
AutoSizeAxes = Axes.X;

text = item.TextBindable.GetBoundCopy();
startIndex = item.StartIndexBindable.GetBoundCopy();
endIndex = item.EndIndexBindable.GetBoundCopy();
Expand Down

0 comments on commit 30339b1

Please sign in to comment.