X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/8e0b92d947f09e5e4c00f49218aa1ba9ebc4dcb3..101179f2d7bcc4de75c326d3e9d01694c84d07ca:/Constructor/src/workplace.cpp?ds=sidebyside diff --git a/Constructor/src/workplace.cpp b/Constructor/src/workplace.cpp index fd9b898..94e3934 100644 --- a/Constructor/src/workplace.cpp +++ b/Constructor/src/workplace.cpp @@ -26,6 +26,7 @@ bool WorkPlace::on_expose_event(GdkEventExpose *event) if ( *logica ) { std::list::iterator j = listaItems->begin(); while ( j != listaItems->end() ) { + (*j)->update_logic_position(); (*j)->draw_connectors(); j++; } @@ -167,4 +168,3 @@ void WorkPlace::draw_line(int x1, int y1, int x2, int y2) get_window()->draw_line (get_style()->get_black_gc(), x1, y1, x1, y2); get_window()->draw_line (get_style()->get_black_gc(), x1, y2, x2, y2); } -