URL:
  <http://gna.org/patch/?2267>

                 Summary: GUI glitch fix
                 Project: Battle for Wesnoth
            Submitted by: kahootbird
            Submitted on: Sun 26 Dec 2010 12:39:10 AM GMT
                Priority: 2
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

A simple GUI glitch fix.

I've only tested in single player. 

The problem:

The problem occurs when, while in battle, going to menu - preferences, then,
after it opens, closing the preference dialog box. The menu button at the top
left temporarily disappears as well as the action button and the "End Turn"
button at the bottom right, if it is being displayed.

Additionally, I've observed that, at times, the buttons stays gone slightly
longer if the AI engages units in battle. The best way to see this is pressing
the hotkey to bring up the preference dialog multiple times and closing it
while on an enemy turn.

The Fix:

I've isolated where a call is made to redraw everything right after the
preference window closes. Redrawing is needed just in case if a resolution
change was made within the preference window. I believe redrawing the buttons
specifically is the answer to the problem of the buttons disappearing - rather
than redrawing everything altogether. I've also play-tested most of the
preference settings and played through a scenario with no observable problems.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 26 Dec 2010 12:39:10 AM GMT  Name: mypatch.patch  Size: 858B   By:
kahootbird

<http://gna.org/patch/download.php?file_id=11675>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?2267>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to