Menu

#649 World map button does not hide

Resolved
nobody
None
2011-02-05
2010-12-05
Anonymous
No

Originally created by: KovuTheH...@gmail.com

What version of Titan Panel are you using and on what operating system?
5.0.1.40000 - [r485]

What steps will reproduce the problem?
1. Right click TitanLocation item on bar.
2. Select Options, then deselect Show Location on Minimap.
3. The world map button remains shown.

What is the expected output? What do you see instead?
World map button should be hidden.

I've included the fix below. Just missing a show and hide for the frame "MiniMapWorldMapButton." Thanks!

function TitanPanelLocationButton_LocOnMiniMap()
    if TitanGetVar(TITAN_LOCATION_ID, "ShowLocOnMiniMap") then
        MinimapBorderTop:Show()       
--        MinimapToggleButton:Show()
        MinimapZoneTextButton:Show()
        MiniMapWorldMapButton:Show();
    else
        MinimapBorderTop:Hide()
--        MinimapToggleButton:Hide()
        MinimapZoneTextButton:Hide()
        MiniMapWorldMapButton:Hide();
    end
    -- adjust MiniMap frame if needed
    TitanMovableFrame_CheckFrames(1);
    TitanMovableFrame_MoveFrames(1, TitanPanelGetVar("ScreenAdjust"));
end

Related

Wiki: Titan_Panel_Version_History

Discussion

  • Anonymous

    Anonymous - 2010-12-08

    Originally posted by: Honor...@gmail.com

    (No comment was entered for this change.)

    Status: Pending

     
  • Anonymous

    Anonymous - 2011-01-08

    Originally posted by: urn...@gmail.com

    (No comment was entered for this change.)

    Status: Testing

     
  • Anonymous

    Anonymous - 2011-01-31

    Originally posted by: joeja...@gmail.com

    (No comment was entered for this change.)

    Status: Fixed

     
  • Anonymous

    Anonymous - 2011-02-05

    Originally posted by: Honor...@gmail.com

    Released with version 5.0.2.

    Status: Resolved

     

Log in to post a comment.