From 809e8142b53ba7227241d39d2c4057f7201087a9 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Fri, 9 Jan 2015 01:56:53 -0300 Subject: [PATCH] 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. --- gui.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gui.c b/gui.c index cc89ff9..5f5e5e9 100644 --- a/gui.c +++ b/gui.c @@ -348,7 +348,6 @@ void change_world(void) instantiate(); } after = inst_get_bbox(NULL); - label_in_box_bg(active_frame->label, COLOR_FRAME_SELECTED); do_build_frames(); 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)