Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a simplified way to call a subset #1763

Open
marcoriesco opened this issue Jul 29, 2024 · 0 comments
Open

Create a simplified way to call a subset #1763

marcoriesco opened this issue Jul 29, 2024 · 0 comments

Comments

@marcoriesco
Copy link

Issue description

Is there any way to call user-defined subsets in a more simplified way?

Below, I use this method and then what would be a simplified method

<video ifSubset="video_gamelist:Ativo" name="md_video">
    <origin>0 0</origin>
    <pos>0 0</pos>
    <size>1 1</size>
    <delay ifSubset="video_gamelist_delay:0.5">0.5</delay>
    <delay ifSubset="video_gamelist_delay:1">1</delay>
    <delay ifSubset="video_gamelist_delay:1.5">1.5</delay>
    <delay ifSubset="video_gamelist_delay:2">2</delay>
    <delay ifSubset="video_gamelist_delay:2.5">2.5</delay>
    <delay ifSubset="video_gamelist_delay:3">3</delay>
    <delay ifSubset="video_gamelist_delay:4">5</delay>
    <delay ifSubset="video_gamelist_delay:5">5</delay>
    <effect>none</effect>
    <zIndex>16</zIndex>

    <storyboard event="activate">
        <animation property="opacity" from="0" to="1" duration="800" mode="easeIn" />
    </storyboard>
</video>

Perfect world:
<delay>${video_gamelist_delay}</delay>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant