Fix drawing of symbol menus.

This commit is contained in:
Přemysl Eric Janouch 2011-02-07 10:57:55 +01:00
parent 847945f051
commit 2aac9c6f23
1 changed files with 2 additions and 2 deletions

View File

@ -607,8 +607,8 @@ on_category_toggle (GtkToggleButton *toggle_button, gpointer user_data)
item->scale = data->menu_height * 0.5
/ MAX (ABS (area.y), ABS (area.y + area.height)) * 0.5;
item->width = data->menu_height * 0.5 + item->scale * area.width;
item->dx = item->width * 0.5 + item->scale * (area.width * 0.5
- MAX (ABS (area.x), ABS (area.x + area.width)));
item->dx = item->width * 0.5 + item->scale
* (area.width * 0.5 - ABS (area.x + area.width));
menu_width += item++->width;
}