Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
ca9fceb2
Commit
ca9fceb2
authored
Nov 04, 2017
by
Gilles Rochefort
Committed by
Davis E. King
Nov 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused variable (#919)
parent
69ea3bd4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
widgets.cpp
dlib/gui_widgets/widgets.cpp
+0
-3
No files found.
dlib/gui_widgets/widgets.cpp
View file @
ca9fceb2
...
...
@@ -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
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment