mirror of https://github.com/davisking/dlib.git
Fixed weird rectangle highlighting behavior from previous commit.
This commit is contained in:
parent
374d5253f8
commit
839942b82b
|
@ -3265,6 +3265,7 @@ namespace dlib
|
|||
parent.invalidate_rectangle(rect);
|
||||
}
|
||||
|
||||
highlighted_rect = std::numeric_limits<unsigned long>::max();
|
||||
rect_is_selected = false;
|
||||
parts_menu.disable();
|
||||
assign_image_scaled(img,new_img);
|
||||
|
|
Loading…
Reference in New Issue