diff options
author | Kai Sommerfeld <kai.sommerfeld@gmx.com> | 2020-10-26 19:26:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-26 19:26:17 +0100 |
commit | 9c0fd6a48f6a39b3fbedb82e50ccc94a5053e801 (patch) | |
tree | 532c65913fc26c20c04114fe6571966c6309bfd8 /addons/skin.estuary | |
parent | 30f8185fe4079efd5d2020cf95c332df1c942c7c (diff) | |
parent | dc4fc69de50466ab1cb7c55bef3bd77fc065d177 (diff) |
Merge pull request #18629 from ksooo/estuary-fix-busy-spinner
[Estuary] Home screen widgets: Fix busy spinner...
Diffstat (limited to 'addons/skin.estuary')
-rw-r--r-- | addons/skin.estuary/xml/Includes_Home.xml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/addons/skin.estuary/xml/Includes_Home.xml b/addons/skin.estuary/xml/Includes_Home.xml index 8abe7844a2..4164bcf100 100644 --- a/addons/skin.estuary/xml/Includes_Home.xml +++ b/addons/skin.estuary/xml/Includes_Home.xml @@ -21,7 +21,7 @@ <label>$PARAM[label]</label> <shadowcolor>text_shadow</shadowcolor> <visible>$PARAM[visible]</visible> - <visible>Integer.IsGreater(Container($PARAM[list_id]).NumItems,$PARAM[item_treshold]) | Container($PARAM[list_id]).IsUpdating</visible> + <visible>Integer.IsGreater(Container($PARAM[list_id]).NumItems,$PARAM[item_treshold]) | [Container($PARAM[list_id]).IsUpdating + Integer.IsEqual(Container($PARAM[list_id]).NumItems,0)]</visible> </control> </definition> </include> @@ -453,7 +453,6 @@ <include content="BusyListSpinner"> <param name="list_id" value="$PARAM[list_id]"/> <param name="posy" value="200"/> - <param name="item_treshold" value="$PARAM[item_treshold]"/> </include> <control type="panel" id="$PARAM[list_id]"> <left>0</left> @@ -463,7 +462,7 @@ <include content="WidgetListCommon"> <param name="list_id" value="$PARAM[list_id]"/> </include> - <visible>Integer.IsGreater(Container($PARAM[list_id]).NumItems,$PARAM[item_treshold]) | Container($PARAM[list_id]).IsUpdating</visible> + <visible>Integer.IsGreater(Container($PARAM[list_id]).NumItems,$PARAM[item_treshold]) | [Container($PARAM[list_id]).IsUpdating + Integer.IsEqual(Container($PARAM[list_id]).NumItems,0)]</visible> <itemlayout width="310" height="500"> <control type="group"> <left>70</left> @@ -944,12 +943,11 @@ <include name="BusyListSpinner"> <param name="posy">160</param> <param name="visible">true</param> - <param name="item_treshold">0</param> <definition> <control type="group" id="$PARAM[list_id]599"> <height>160</height> <left>180</left> - <visible>Container($PARAM[list_id]).IsUpdating + !Integer.IsGreater(Container($PARAM[list_id]).NumItems,$PARAM[item_treshold])</visible> + <visible>Container($PARAM[list_id]).IsUpdating + !Integer.IsGreater(Container($PARAM[list_id]).NumItems,0)</visible> <visible>$PARAM[visible]</visible> <control type="image"> <top>$PARAM[posy]</top> |