From 15038773ed4bc4f736b840fe2a3f9f2e0914116a Mon Sep 17 00:00:00 2001 From: timurhai Date: Mon, 5 Oct 2020 11:59:19 +0300 Subject: [PATCH] rules: scenes shots asset: display flags, tags and artists short names --- rules/assets/scenes.js | 2 +- rules/status.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rules/assets/scenes.js b/rules/assets/scenes.js index 7baef7608..1853217e0 100644 --- a/rules/assets/scenes.js +++ b/rules/assets/scenes.js @@ -385,7 +385,7 @@ function scenes_Received( i_data, i_args) for( var f = 0; f < fobj.status.flags.length; f++) elShot.classList.add( fobj.status.flags[f]); - var st_obj = new Status( fobj.status, {"path":elShot.m_path,"createGUI": st_CreateSceneShot}); + let st_obj = new Status(fobj.status, {"path":elShot.m_path,"createGUI": st_CreateSceneShot,"display_short":true}); elShot.m_status = st_obj; elShot.ondblclick = sc_EditStatus; diff --git a/rules/status.js b/rules/status.js index 51438707f..fe01ea206 100644 --- a/rules/status.js +++ b/rules/status.js @@ -151,11 +151,11 @@ Status.prototype.show = function(i_status, i_update = false) { if (this.elProgress) st_SetElProgress(this.obj, this.elProgressBar, this.elProgress, this.elPercentage); if (this.elArtists) - st_SetElArtists(this.obj, this.elArtists); + st_SetElArtists(this.obj, this.elArtists, this.args.display_short); if (this.elFlags) - st_SetElFlags(this.obj, this.elFlags); + st_SetElFlags(this.obj, this.elFlags, this.args.display_short); if (this.elTags) - st_SetElTags(this.obj, this.elTags); + st_SetElTags(this.obj, this.elTags, this.args.display_short); if (this.elFramesNum) st_SetElFramesNum(this.obj, this.elFramesNum); if (this.elFinish)