diff --git a/package.json b/package.json index 6dc679f..cc0c29d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "ping-logger", - "version": "1.0.0", + "version": "1.0.1", "description": "Display average ping in user list.", "scripts": { "clean": "rimraf dist package.zip", diff --git a/src/module.json b/src/module.json index 79ea127..f20dee8 100644 --- a/src/module.json +++ b/src/module.json @@ -2,7 +2,7 @@ "name": "ping-logger", "title": "Ping Logger", "description": "Display average ping in user list.", - "version": "1.0.0", + "version": "1.0.1", "author": "hypnoCode", "authors": [ { @@ -30,7 +30,7 @@ "compatibleCoreVersion": "0.8.8", "url": "https://github.com/mawburn/foundry-ping-logger", "manifest": "https://raw.githubusercontent.com/mawburn/foundry-ping-logger/main/src/module.json", - "download": "https://github.com/mawburn/foundry-ping-logger/releases/download/v1.0.0/package.zip", + "download": "https://github.com/mawburn/foundry-ping-logger/releases/download/v1.0.1/package.zip", "license": "GNU AGPLv3", "readme": "https://github.com/mawburn/foundry-ping-logger/blob/main/README.md", "bugs": "https://github.com/mawburn/foundry-ping-logger/issues", diff --git a/src/module/PlayerList.ts b/src/module/PlayerList.ts index 66f28dd..d099fe6 100644 --- a/src/module/PlayerList.ts +++ b/src/module/PlayerList.ts @@ -69,8 +69,6 @@ export class PlayerList { new Promise((res, rej) => { const players = document.getElementById('players') - console.log('players', playerId, players, this.playerPingTimes) - if (players) { const span = document.createElement('span') span.id = `pingText_${playerId}` diff --git a/src/ping-logger.css b/src/ping-logger.css index 6260513..b1d4db1 100644 --- a/src/ping-logger.css +++ b/src/ping-logger.css @@ -1,10 +1,12 @@ span.pingSpan { flex: 0; - padding-left: 0.5rem; - padding-right: 0.5rem; + margin: 0 0.1rem; + padding-left: 0.25rem; + padding-right: 0.25rem; background-color: rgb(0, 0, 0, 0.4); - border-radius: 4px; + border-radius: 2px; font-size: 0.75rem; + text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25); } span.pingSpan em {