Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Commit

Permalink
⚡ Only apply soft flixart fade to None
Browse files Browse the repository at this point in the history
  • Loading branch information
jurialmunkey committed Jun 17, 2023
1 parent 9b1d51c commit 62c4e0e
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions 1080i/Includes_Background.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,18 @@
<height>$PARAM[flixart_size_h]</height>
<width>$PARAM[flixart_size_w]</width>
<aspectratio scalediffuse="true">scale</aspectratio>
<texture background="true" diffuse="diffuse/flixart.png">$VAR[Image_Foreground_FlixArt]</texture>

<include content="Object_Texture" condition="[Skin.String(BackgroundStyle,Blur) | Skin.String(BackgroundStyle,Image)]">
<param name="texture">$VAR[Image_Foreground_FlixArt]</param>
<param name="background">true</param>
<param name="diffuse">diffuse/flixart_hard.png</param>
</include>

<include content="Object_Texture" condition="![Skin.String(BackgroundStyle,Blur) | Skin.String(BackgroundStyle,Image)]">
<param name="texture">$VAR[Image_Foreground_FlixArt]</param>
<param name="background">true</param>
<param name="diffuse">diffuse/flixart_soft.png</param>
</include>
</include>
</control>
</definition>
Expand All @@ -86,7 +97,18 @@
<width>50%</width>
<fadetime>400</fadetime>
<aspectratio scalediffuse="false" aligny="top">scale</aspectratio>
<texture background="true" diffuse="diffuse/flixart.png">$VAR[Image_Foreground_FlixArt]</texture>

<include content="Object_Texture" condition="[Skin.String(BackgroundStyle,Blur) | Skin.String(BackgroundStyle,Image)]">
<param name="texture">$VAR[Image_Foreground_FlixArt]</param>
<param name="background">true</param>
<param name="diffuse">diffuse/flixart_hard.png</param>
</include>

<include content="Object_Texture" condition="![Skin.String(BackgroundStyle,Blur) | Skin.String(BackgroundStyle,Image)]">
<param name="texture">$VAR[Image_Foreground_FlixArt]</param>
<param name="background">true</param>
<param name="diffuse">diffuse/flixart_soft.png</param>
</include>
</include>
</include>

Expand Down Expand Up @@ -274,7 +296,6 @@
<value condition="Skin.HasSetting(UseBackgroundVideo) + Player.HasVideo">black</value>
<value>main_bg_100</value>
</variable>

<include name="Background_Main">
<param name="plain_background">false</param>
<definition>
Expand Down
Binary file added media/diffuse/flixart_hard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes

0 comments on commit 62c4e0e

Please sign in to comment.