Sarjuuk / aowow

Database viewer for TrinityCore based on aowow by @LordJZ, based on the JS-Engine of Wowhead
204 stars 217 forks source link

Pins in maps in tooltips are off #223

Closed wodim closed 4 years ago

wodim commented 4 years ago

For example, here: https://tcubuntu.northeurope.cloudapp.azure.com/aowow/?zone=28#objects

If you look for "Caer Darrow Skeleton 001" it looks like it is in the northwest part of the island:

image

But it's actually a bit to the bottom of the pin: https://tcubuntu.northeurope.cloudapp.azure.com/aowow/?object=176745

image

Sarjuuk commented 4 years ago

the small map images appear to be cut off at the bottom. .. the heck?

wodim commented 4 years ago

Compare:

https://github.com/Sarjuuk/aowow/blob/c92ab37de11ed409d95382cdffd5547f551574d2/static/js/global.js#L18895

To:

https://github.com/Sarjuuk/aowow/blob/c92ab37de11ed409d95382cdffd5547f551574d2/setup/tools/filegen/complexImg.func.php#L356

btw what a clusterfuck that file is...

Sarjuuk commented 4 years ago

hey, it can't be that bad. You found the correct spot. :+1:

fixed in 12c5f6f468af5a9169adde1dff1ac0cff18cc027