mirror of
git://projects.qi-hardware.com/fped.git
synced 2024-12-01 10:54:04 +02:00
gui.c (change_world): don't change color of the active frame
We're re-creating all the frames anyway (*), so why was this there ? (*) And if we don't, which will happen in the near future, that's even worse.
This commit is contained in:
parent
73389fba76
commit
809e8142b5
1
gui.c
1
gui.c
@ -348,7 +348,6 @@ void change_world(void)
|
|||||||
instantiate();
|
instantiate();
|
||||||
}
|
}
|
||||||
after = inst_get_bbox(NULL);
|
after = inst_get_bbox(NULL);
|
||||||
label_in_box_bg(active_frame->label, COLOR_FRAME_SELECTED);
|
|
||||||
do_build_frames();
|
do_build_frames();
|
||||||
if (after.min.x < before.min.x || after.min.y < before.min.y ||
|
if (after.min.x < before.min.x || after.min.y < before.min.y ||
|
||||||
after.max.x > before.max.x || after.max.y > before.max.y)
|
after.max.x > before.max.x || after.max.y > before.max.y)
|
||||||
|
Loading…
Reference in New Issue
Block a user