diff --git a/src/csui/src/PlayerUiPanels/PlayerDetectionPanel.vue b/src/csui/src/PlayerUiPanels/PlayerDetectionPanel.vue index f838340..84efc21 100644 --- a/src/csui/src/PlayerUiPanels/PlayerDetectionPanel.vue +++ b/src/csui/src/PlayerUiPanels/PlayerDetectionPanel.vue @@ -10,331 +10,340 @@

Player element

-
-

- You're probably on this page because Ultrawidify doesn't crop the player correctly. -

-

- If you hover over the boxes below, the corresponding element will change (sepia filter + higher brightness + reduced contrast + it gets an outline). Player element - should be the closest element to the video element, for which the sepia/brightness effect covers the area you expect the video will cover. -

+
+
+

+ You're probably on this page because Ultrawidify doesn't crop the player correctly. +

+

+ If you hover over the boxes below, the corresponding element will change (sepia filter + higher brightness + reduced contrast + it gets an outline). Player element + should be the closest element to the video element, for which the sepia/brightness effect covers the area you expect the video will cover. +

+

+ You need to reload the page for changes to take effect. +

-

- - - - -

+ -
-
-
- +
+
- Use CSS selector for player
- If defining multiple selectors, separate them with commas. + +
+ Use CSS selector for player
+ If defining multiple selectors, separate them with commas. +
+
Selector
+ +
+
+ Custom CSS for site +
-
Selector
-
-
- Custom CSS for site - -
-
-
-
- - - - + +
-
- Status +
+
+ + + + - - - - - - - - - - - + + + + + + + + - -
+
+ Status -
- Symbols:
- Element of invalid dimensions
- Ultrawidify's player detection thinks this should be the player
- Site settings say this should be the player (based on counting parents)
- Site settings say this should be the player (based on query selectors)
- Element that is actually the player -
-
-
ElementActions
-
-
- -
-
- -
-
- -
-
- -
-
- -
-
-
-
-
- {{element.tagName}} {{element.id ? `#`:''}}{{element.id}} @ {{element.width}}x{{element.height}} - -
-
-
- {{cls}} +
+ Symbols:
+ Element of invalid dimensions
+ Ultrawidify's player detection thinks this should be the player
+ Site settings say this should be the player (based on counting parents)
+ Site settings say this should be the player (based on query selectors)
+ Element that is actually the player
-
-
-
- -
-
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
- Width: 100% -
-
- Height: 100% -
-
- Display: flex -
-
- Flex direction: - - row - | - - column - -
-
- Justify content: - - start - | - - center - | - - end - -
-
- Align items: - - start - | - - center - | - - end - -
+ class="element-data" -
- Justify self: - - start - | - - center - | - - end - + @mouseover="markElement(index, true)" + @mouseleave="markElement(index, false)" + + @click="setPlayer(index)" + > +
+ {{element.tagName}} {{element.id ? `#`:''}}{{element.id}} @ {{element.width}}x{{element.height}} + +
+
+
+ {{cls}} +
+
-
- Align self: - - start - | - - center - | - - end - +
+
+
-
- Text-align: - + -
-
+ --> +
+
+
-
- + +
+ +
@@ -450,6 +459,10 @@ export default({