Skip to content

Commit

Permalink
Fixing bug where flairs would disappear when sorting the league table…
Browse files Browse the repository at this point in the history
…, pre-empting addition of resource summary button in resource bars module (fix for position of level indicator will have to happen after it goes live)
  • Loading branch information
Numbers committed Jan 23, 2023
1 parent cb0ebd2 commit ade2a9d
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 12 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
1.30.1: Fixing bug where flairs would disappear when sorting the league table, pre-empting addition of resource summary button in resource bars module (fix for position of level indicator will have to happen after it goes live)
1.30.0: Adding module to link to player profiles from leaderboards
1.29.0: Adding modules to show clubmates and script Patreon supporters on leaderboards (league, contests, season, pantheon, pov, pog)
1.28.24: Annotating Season, Pantheon and Po* leaderboards with player IDs (enabler for future modules)
Expand Down
10 changes: 5 additions & 5 deletions dist/hh-plus-plus.dev.user.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/hh-plus-plus.meta.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name Hentai Heroes++ BDSM version
// @description Adding things here and there in the Hentai Heroes game. Also supports HHCore-based games such as GH and CxH.
// @version 1.30.0
// @version 1.30.1
// @match https://*.hentaiheroes.com/*
// @match https://nutaku.haremheroes.com/*
// @match https://*.gayharem.com/*
Expand Down
8 changes: 4 additions & 4 deletions dist/hh-plus-plus.user.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hh-plus-plus",
"version": "1.30.0",
"version": "1.30.1",
"description": "Adding things here and there in the Hentai Heroes game. Also supports HHCore-based games such as GH and CxH.",
"private": "true",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions src/i18n/labels/It.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export const config = {
haremTeamsFilter: 'Filtro squadra per harem',
upgradeQuickNav: 'Navigazione rapida sulla pagina di aggiornamento',
leaderboardClubmateIndicators: 'Evidenziare i soci del club nelle classifiche',
leaderboardProfilePopups: 'Link ai profili dei giocatori nelle classifiche',
}
export const stConfig = {
missionsBackground: 'Cambiare lo sfondo delle missioni',
Expand Down
1 change: 1 addition & 0 deletions src/modules/LeaderboardClubmateIndicatorsModule/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class LeaderboardClubmateIndicatorsModule extends CoreModule {
})

$(document).on('leaderboard-annotated', (event, data) => this.addClubmateAnnotations(data))
$(document).on('league:table-sorted', () => {this.addClubmateAnnotations()})

this.hasRun = true
}
Expand Down
1 change: 1 addition & 0 deletions src/modules/LeaderboardSupportersIndicatorsModule/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class LeaderboardSupportersIndicatorsModule extends CoreModule {
})

$(document).on('leaderboard-annotated', (event, data) => this.addSupporterAnnotations(data))
$(document).on('league:table-sorted', () => {this.addSupporterAnnotations()})

this.hasRun = true
}
Expand Down
9 changes: 9 additions & 0 deletions src/modules/ResourceBarsModule/styles.lazy.scss
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,15 @@ body > div > header {
margin-left: 20px;
margin-top: 4px;
}

#show-hero-resources {
margin-top: 4px;
margin-left: 15px;

& + #blessings-button {
margin-left: 5px;
}
}
}

body > div > header > div.energy_counter {
Expand Down

0 comments on commit ade2a9d

Please sign in to comment.