mirror of
git://projects.qi-hardware.com/fped.git
synced 2025-04-21 12:27:27 +03:00
- before changing the world, always deselect (reported by Dave Ball)
- gui_draw_pad: add 10% of slack so that pad names are upright unless we really need to rotate git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5380 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
5
gui.c
5
gui.c
@@ -498,10 +498,8 @@ static void edit_frame(struct frame *frame)
|
||||
|
||||
static void select_frame(struct frame *frame)
|
||||
{
|
||||
if (active_frame) {
|
||||
if (active_frame)
|
||||
label_in_box_bg(active_frame->label, COLOR_FRAME_UNSELECTED);
|
||||
inst_deselect();
|
||||
}
|
||||
active_frame = frame;
|
||||
change_world();
|
||||
}
|
||||
@@ -648,6 +646,7 @@ static void make_center_area(GtkWidget *vbox)
|
||||
|
||||
void change_world(void)
|
||||
{
|
||||
inst_deselect();
|
||||
status_begin_reporting();
|
||||
instantiate();
|
||||
label_in_box_bg(active_frame->label, COLOR_FRAME_SELECTED);
|
||||
|
||||
Reference in New Issue
Block a user