Skip to content

Commit

Permalink
Review findings
Browse files Browse the repository at this point in the history
  • Loading branch information
MarekLuxoft committed Dec 12, 2024
1 parent 95f3874 commit ff60858
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions starboard/xb1/shared/accessibility_get_caption_settings.cc
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,10 @@ bool GetCaptionSettings(SbAccessibilityCaptionSettings* caption_settings) {
ClosedCaptionProperties::RegionOpacity);
caption_settings->window_opacity_state = kSbAccessibilityCaptionStateSet;

caption_settings->is_enabled = true; // TODO: check it
caption_settings->is_enabled =
ClosedCaptionProperties::BackgroundColor != ClosedCaptionColor::Default;
caption_settings->supports_is_enabled = true;
caption_settings->supports_set_enabled = false;
caption_settings->supports_override = true;
return true;
}

Expand Down

0 comments on commit ff60858

Please sign in to comment.