Mercurial > audlegacy
diff src/audacious/ui_svis.c @ 4218:f1074a07ec09
mostly works, but the VIS is broken, and the eq window is too large...more bugs
need to be found
| author | Cristi Magherusan <majeru@atheme.org> |
|---|---|
| date | Sun, 27 Jan 2008 23:00:32 +0200 |
| parents | 75d99359357b |
| children | e6ef8287d115 |
line wrap: on
line diff
--- a/src/audacious/ui_svis.c Sun Jan 27 21:24:28 2008 +0200 +++ b/src/audacious/ui_svis.c Sun Jan 27 23:00:32 2008 +0200 @@ -260,8 +260,8 @@ gdk_window_move_resize(widget->window, widget->allocation.x, widget->allocation.y, allocation->width, allocation->height); } - svis->x = widget->allocation.x/(svis->scaled ? 2 : 1); - svis->y = widget->allocation.y/(svis->scaled ? 2 : 1); + svis->x = widget->allocation.x/(svis->scaled ? cfg.scale_factor : 1); + svis->y = widget->allocation.y/(svis->scaled ? cfg.scale_factor : 1); } static gboolean ui_svis_expose(GtkWidget *widget, GdkEventExpose *event) {
