Skip to content

Commit

Permalink
Fixing Gem Stock placement after upcoming harem screen update
Browse files Browse the repository at this point in the history
  • Loading branch information
Numbers committed Feb 13, 2023
1 parent 24019da commit 56aa145
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 28 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
1.32.3: Fixing Gem Stock placement after upcoming harem screen update
1.32.2: Fixing GirlDictionaryCollector for the EpP draft two-step process
1.32.1: Fixing hiding "Claim All" button on CxH.
1.32.0: Adding style tweak to hide the new "Claim All" button in seasons. Off by default.
Expand Down
6 changes: 3 additions & 3 deletions dist/hh-plus-plus.dev.user.js

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

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.32.2
// @version 1.32.3
// @match https://*.hentaiheroes.com/*
// @match https://nutaku.haremheroes.com/*
// @match https://*.gayharem.com/*
Expand Down
6 changes: 3 additions & 3 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.32.2",
"version": "1.32.3",
"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
4 changes: 2 additions & 2 deletions src/modules/GemStockModule/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class GemStockModule extends CoreModule {
}

buildGemsStockElem () {
return $('<div class="gemStock" tooltip></div>').attr('hh_title', this.buildGemsTable())
return $('<div class="gemStock" tooltip></div>').attr('tooltip', this.buildGemsTable())
}

run () {
Expand All @@ -62,7 +62,7 @@ class GemStockModule extends CoreModule {

const $gemStock = this.buildGemsStockElem()

const $container = $('#harem_whole #harem_right')
const $container = $('#harem_whole .haremdex-wrapper')

$container.prepend($gemStock)
})
Expand Down
22 changes: 5 additions & 17 deletions src/modules/GemStockModule/styles.lazy.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,12 @@
width: 34px;
z-index: 30;
background-image: var(--gem-stock-icon);
top: 12px;
right: 200px;

#shops_right #girls_list > & {
top: -12px;
left: 38px;

@media #{$mediaMobile} {
top: -1px;
}
}

#harem_whole #harem_right > & {
top: 4px;
right: 200px;

@media #{$mediaMobile} {
top: 92px;
right: 62px;
}
@media #{$mediaMobile} {
top: 23px;
right: 405px;
}

&-table img {
Expand Down

0 comments on commit 56aa145

Please sign in to comment.