Author: shadowmaster
Date: Fri Oct 23 02:38:15 2009
New Revision: 39420

URL: http://svn.gna.org/viewcvs/wesnoth?rev=39420&view=rev
Log:
Fix storyscreen buttons occasionally disappearing by setting them to be
drawn in "volatile" mode.

Modified:
    trunk/changelog
    trunk/players_changelog
    trunk/src/storyscreen/render.cpp

Modified: trunk/changelog
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/changelog?rev=39420&r1=39419&r2=39420&view=diff
==============================================================================
--- trunk/changelog (original)
+++ trunk/changelog Fri Oct 23 02:38:15 2009
@@ -4,6 +4,7 @@
  * User interface:
    * Instead of "crashing" upon invalid markup try to show the raw text
    * Found a better fix for truncating the campaign description (bug #14328)
+   * Fix storyscreen buttons occasionally disappearing (bug #13779)
 
 Version 1.7.7:
  * AI:

Modified: trunk/players_changelog
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/players_changelog?rev=39420&r1=39419&r2=39420&view=diff
==============================================================================
--- trunk/players_changelog (original)
+++ trunk/players_changelog Fri Oct 23 02:38:15 2009
@@ -5,6 +5,9 @@
 Version 1.7.7+svn:
  * Language and translations:
    * Updated translations: Hungarian.
+
+* User interface:
+   * Fixed storyscreen buttons occasionally disappearing.
 
 
 Version 1.7.7:

Modified: trunk/src/storyscreen/render.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/storyscreen/render.cpp?rev=39420&r1=39419&r2=39420&view=diff
==============================================================================
--- trunk/src/storyscreen/render.cpp (original)
+++ trunk/src/storyscreen/render.cpp Fri Oct 23 02:38:15 2009
@@ -171,6 +171,9 @@
        next_button_.set_location(buttons_x_, buttons_y_ - 30);
        skip_button_.set_location(buttons_x_, buttons_y_);
 #endif
+
+    next_button_.set_volatile(true);
+    skip_button_.set_volatile(true);
 }
 
 void part_ui::prepare_floating_images()


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

Reply via email to