Fix the delay in the mouseoverlay update.

This commit is contained in:
fendrin 2013-05-08 20:33:04 +02:00
parent fd20400e51
commit 4f3823e2f0

View file

@ -274,6 +274,9 @@ template size_t editor_palette<unit_type>::num_items();
template<class Item>
void editor_palette<Item>::draw_contents()
{
if (*active_mouse_action_)
(*active_mouse_action_)->set_mouse_overlay(gui_);
gui::button* palette_menu_button = gui_.find_menu_button("menu-editor-terrain");
if (palette_menu_button) {