mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Remove unused variable (#919)
This commit is contained in:
parent
69ea3bd400
commit
ca9fceb278
@ -5628,9 +5628,6 @@ namespace dlib
|
||||
|
||||
const unsigned long padding = style->get_padding(*mfont);
|
||||
|
||||
// find the delta between the cursor rect and the corner of the total rect
|
||||
point delta = point(cursor_rect.left(), cursor_rect.top()) - point(total_rect().left(), total_rect().top());
|
||||
|
||||
// now scroll us so that we can see the current cursor
|
||||
scroll_to_rect(centered_rect(cursor_rect, cursor_rect.width() + padding + 6, cursor_rect.height() + 1));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user