diff --git a/.changeset/silver-candies-study.md b/.changeset/silver-candies-study.md new file mode 100644 index 00000000..d739379f --- /dev/null +++ b/.changeset/silver-candies-study.md @@ -0,0 +1,5 @@ +--- +'@theoplayer/web-ui': patch +--- + +User defined `textTrackStyle.marginBottom` and `marginTop` values are no longer reset when the control bar is shown or hidden. diff --git a/examples/default-ui.html b/examples/default-ui.html index 0340e111..049d1ec7 100644 --- a/examples/default-ui.html +++ b/examples/default-ui.html @@ -91,6 +91,9 @@

Default UI