mirror of https://github.com/davisking/dlib.git
Fixed a bug in the image_window which made it's behavior slightly weird
when a user drew rectangles on it.
This commit is contained in:
parent
4cc14d2663
commit
b6bf552c8d
|
@ -6527,7 +6527,7 @@ namespace dlib
|
|||
unsigned long state
|
||||
)
|
||||
{
|
||||
dlib::base_window::on_keydown(key,is_printable,state);
|
||||
dlib::drawable_window::on_keydown(key,is_printable,state);
|
||||
|
||||
have_last_keypress = true;
|
||||
next_key = key;
|
||||
|
|
Loading…
Reference in New Issue