Fix minimap button placing

This commit is contained in:
Roman Kharitonov
2022-10-22 12:04:35 +10:00
parent bb213e8a31
commit 77813290fa
4 changed files with 9 additions and 2 deletions
+4
View File
@@ -14,6 +14,10 @@ minimap to open Recipe Radar or use the slash command, '/rrdr'.
#Last changes:
v1.15.1
- Fixed minimap button placing
v1.15
- Added square minimaps support for icons on minimap & for minimapbutton
+3
View File
@@ -1,5 +1,8 @@
Recipe Radar (vanilla) ChangeLog
v1.15.1; 22.10.2022
- Fixed minimap button placing
v1.15; 3.02.2017
- Added square minimaps support for icons on minimap & for minimapbutton
+1 -1
View File
@@ -145,7 +145,7 @@ end
function RecipeRadar_Minimap_GetPosition(offs_x, offs_y, scale_x, scale_y)
local map_x, map_y = offs_x * scale_x, offs_y * scale_y
local dist = RecipeRadar_Minimap_Pythagorean(map_x, map_y)
local mapDist = RecipeRadar_Minimap_Pythagorean(map_x, map_y)
local mapWidth = Minimap:GetWidth()/2;
local mapHeight = Minimap:GetHeight()/2;
+1 -1
View File
@@ -1,5 +1,5 @@
## Interface: 11200
## Version: 1.15
## Version: 1.15.1
## Title: Recipe Radar
## Author: Jay Miller
## Notes: Locates vendors who sell recipes in the current region or by profession.