Skip to content

Commit

Permalink
v0.1.5
Browse files Browse the repository at this point in the history
* Fixed a minor bug that causes users clock lists to disappear if they had only private clocks
  • Loading branch information
MythicPalette committed Mar 21, 2024
1 parent f06de6f commit 3a4500d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 68 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/get-version.js

This file was deleted.

64 changes: 0 additions & 64 deletions .github/workflows/main.yml

This file was deleted.

4 changes: 2 additions & 2 deletions module/ticker-panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class TickerPanel extends Application {
if ( userTickers[t.owner] )
{
userTickers[t.owner].tickers.push(t);
userTickers[t.owner].visCount += t.privacy == PRIVACY_PRIVATE ? 0 : 1;
userTickers[t.owner].visCount += t.privacy == PRIVACY_PRIVATE && !t.viewable ? 0 : 1;
}
else
{
Expand All @@ -99,7 +99,7 @@ export class TickerPanel extends Application {
"collapsed": collapsed.includes(t.owner),
"name": game.users.get(t.owner).name,
"tickers": [t],
"visCount": t.privacy == PRIVACY_PRIVATE && !override_privacy ? 0 : 1 }
"visCount": t.privacy == PRIVACY_PRIVATE && !t.viewable ? 0 : 1 }
}

bShow |= t.ownedByUser;
Expand Down

0 comments on commit 3a4500d

Please sign in to comment.