* Enabled the "keep subtitles visible when the controls are visible" mode

in the "subtitles at the bottom of video" setting, too.
* Nice surprise to see a feature I wanted to implement already implemented,
  really nicely done stippi :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42349 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2011-06-30 23:00:38 +00:00
parent 185d2cdcb9
commit d6c46607da
1 changed files with 2 additions and 1 deletions

View File

@ -442,7 +442,8 @@ VideoView::_LayoutSubtitle()
switch (fSubtitlePlacement) { switch (fSubtitlePlacement) {
default: default:
case mpSettings::SUBTITLE_PLACEMENT_BOTTOM_OF_VIDEO: case mpSettings::SUBTITLE_PLACEMENT_BOTTOM_OF_VIDEO:
offset.y = fVideoFrame.bottom - fSubtitleFrame.Height(); offset.y = min_c(fSubtitleMaxButtom, fVideoFrame.bottom)
- fSubtitleFrame.Height();
break; break;
case mpSettings::SUBTITLE_PLACEMENT_BOTTOM_OF_SCREEN: case mpSettings::SUBTITLE_PLACEMENT_BOTTOM_OF_SCREEN:
{ {