mirror of
https://github.com/MarkuruThunderhoof/RecipeRadar.git
synced 2026-10-26 15:20:50 +00:00
Merge pull request #6 from refaim/fix-minimap-button
Fix minimap button placing
This commit is contained in:
@@ -14,6 +14,10 @@ minimap to open Recipe Radar or use the slash command, '/rrdr'.
|
|||||||
|
|
||||||
#Last changes:
|
#Last changes:
|
||||||
|
|
||||||
|
v1.15.1
|
||||||
|
|
||||||
|
- Fixed minimap button placing
|
||||||
|
|
||||||
v1.15
|
v1.15
|
||||||
|
|
||||||
- Added square minimaps support for icons on minimap & for minimapbutton
|
- Added square minimaps support for icons on minimap & for minimapbutton
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
Recipe Radar (vanilla) ChangeLog
|
Recipe Radar (vanilla) ChangeLog
|
||||||
|
|
||||||
|
v1.15.1; 22.10.2022
|
||||||
|
- Fixed minimap button placing
|
||||||
|
|
||||||
v1.15; 3.02.2017
|
v1.15; 3.02.2017
|
||||||
|
|
||||||
- Added square minimaps support for icons on minimap & for minimapbutton
|
- Added square minimaps support for icons on minimap & for minimapbutton
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ end
|
|||||||
function RecipeRadar_Minimap_GetPosition(offs_x, offs_y, scale_x, scale_y)
|
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 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 mapWidth = Minimap:GetWidth()/2;
|
||||||
local mapHeight = Minimap:GetHeight()/2;
|
local mapHeight = Minimap:GetHeight()/2;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
## Interface: 11200
|
## Interface: 11200
|
||||||
## Version: 1.15
|
## Version: 1.15.1
|
||||||
## Title: Recipe Radar
|
## Title: Recipe Radar
|
||||||
## Author: Jay Miller
|
## Author: Jay Miller
|
||||||
## Notes: Locates vendors who sell recipes in the current region or by profession.
|
## Notes: Locates vendors who sell recipes in the current region or by profession.
|
||||||
|
|||||||
Reference in New Issue
Block a user