summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r--src/ui/documentwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index 1f0bce52..493750b3 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -1614,7 +1614,7 @@ static void init_PlayerUI(iPlayerUI *d, const iPlayer *player, iRect bounds) {
1614 d->player = player; 1614 d->player = player;
1615 d->bounds = bounds; 1615 d->bounds = bounds;
1616 const int height = height_Rect(bounds); 1616 const int height = height_Rect(bounds);
1617 d->playPauseRect = (iRect){ addX_I2(topLeft_Rect(bounds), gap_UI / 2), init1_I2(height) }; 1617 d->playPauseRect = (iRect){ addX_I2(topLeft_Rect(bounds), gap_UI / 2), init_I2(3 * height / 2, height) };
1618 d->rewindRect = (iRect){ topRight_Rect(d->playPauseRect), init1_I2(height) }; 1618 d->rewindRect = (iRect){ topRight_Rect(d->playPauseRect), init1_I2(height) };
1619 d->menuRect = (iRect){ addX_I2(topRight_Rect(bounds), -height - gap_UI / 2), init1_I2(height) }; 1619 d->menuRect = (iRect){ addX_I2(topRight_Rect(bounds), -height - gap_UI / 2), init1_I2(height) };
1620 d->scrubberRect = initCorners_Rect(topRight_Rect(d->rewindRect), bottomLeft_Rect(d->menuRect)); 1620 d->scrubberRect = initCorners_Rect(topRight_Rect(d->rewindRect), bottomLeft_Rect(d->menuRect));