Clicking on the minimap while the options panel is open will close it
This commit is contained in:
@@ -1347,6 +1347,14 @@
|
||||
end
|
||||
--> 1 = open options panel
|
||||
if (_detalhes.minimap.onclick_what_todo == 1) then
|
||||
|
||||
if (_G.DetailsOptionsWindow) then
|
||||
if (_G.DetailsOptionsWindow:IsShown()) then
|
||||
_G.DetailsOptionsWindow:Hide()
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
local lower_instance = _detalhes:GetLowerInstanceNumber()
|
||||
if (not lower_instance) then
|
||||
local instance = _detalhes:GetInstance (1)
|
||||
|
||||
Reference in New Issue
Block a user