47 lines
1.5 KiB
XML
47 lines
1.5 KiB
XML
<component name="SponsorBlockNotification" extends="Group">
|
|
<interface>
|
|
<field id="segment" type="assocarray" onChange="OnSegmentSet" />
|
|
<field id="action" type="string" onChange="OnActionSet" alwaysNotify="true" />
|
|
</interface>
|
|
<children>
|
|
<Poster
|
|
width="250"
|
|
height="70"
|
|
opacity="0.8"
|
|
blendColor="#414141"
|
|
uri="pkg:/images/white.9.png">
|
|
<Poster
|
|
uri="libpkg:/images/LogoSponsorBlockSimple256px.png"
|
|
width="50"
|
|
height="50"
|
|
translation="[10,10]">
|
|
</Poster>
|
|
<Label
|
|
id="categoryLabel"
|
|
text="..."
|
|
font="font:SmallestBoldSystemFont"
|
|
lineSpacing="5"
|
|
horizAlign="center"
|
|
vertAlign="center"
|
|
wrap="true"
|
|
width="170"
|
|
height="70"
|
|
translation="[70,0]">
|
|
</Label>
|
|
</Poster>
|
|
<Animation
|
|
id="translationAnimation"
|
|
duration="0.3"
|
|
optional="true">
|
|
<Vector2DFieldInterpolator
|
|
id="translationAnimationInterpolator"
|
|
key="[0.0, 0.5, 1.0]"
|
|
keyValue="[ [1280.0, 20.0], [1140.0, 20.0], [1000.0, 20.0] ]"
|
|
fieldToInterp="SponsorBlockNotification.translation" />
|
|
</Animation>
|
|
<Timer
|
|
id="animationTimer"
|
|
duration="3"
|
|
/>
|
|
</children>
|
|
</component> |