Skip to content

Commit

Permalink
Add spacing for able to let user able to show the main text if popove…
Browse files Browse the repository at this point in the history
…r is displayed at the bottom of the lyric.
  • Loading branch information
andy840119 committed Sep 24, 2023
1 parent 188eae8 commit a3de28a
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 a3de28a

Please sign in to comment.