We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 241a315 commit 62eb451Copy full SHA for 62eb451
src/main/python/ttconv/filters/doc/inline_position.py
@@ -64,14 +64,6 @@ class InlinePositionFilterConfig(ModuleConfiguration):
64
def name(cls):
65
return "inline_position"
66
67
-
68
- def _replace_regions(element: ContentElement, region_aliases: typing.Mapping[Region, Region]):
69
- merged_region = region_aliases.get(element.get_region())
70
- if merged_region is not None:
71
- element.set_region(merged_region)
72
- for child in element:
73
- _replace_regions(child, region_aliases)
74
75
def _apply_bg_color(element: ContentElement, bg_color: ColorType):
76
if isinstance(element, P):
77
element.set_style(StyleProperties.BackgroundColor, bg_color)
0 commit comments