Skip to content

Commit

Permalink
rules: scenes shots asset: display flags, tags and artists short names
Browse files Browse the repository at this point in the history
  • Loading branch information
timurhai committed Oct 5, 2020
1 parent 069cb43 commit 1503877
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rules/assets/scenes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 3 additions & 3 deletions rules/status.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1503877

Please sign in to comment.