Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
147a070b
Commit
147a070b
authored
Oct 15, 2019
by
Claes Sjofors
Committed by
Claes Sjöfors
Mar 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Glow ctx fix to avoid recursive call of nav_zoom
parent
7ca31c3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
xtt/lib/glow/src/glow_ctx.cpp
xtt/lib/glow/src/glow_ctx.cpp
+3
-2
No files found.
xtt/lib/glow/src/glow_ctx.cpp
View file @
147a070b
...
@@ -909,13 +909,14 @@ void GlowCtx::paste_execute()
...
@@ -909,13 +909,14 @@ void GlowCtx::paste_execute()
void
GlowCtx
::
nav_zoom
()
void
GlowCtx
::
nav_zoom
()
{
{
if
(
nodraw
)
return
;
if
(
ctx_type
==
glow_eCtxType_Curve
)
{
if
(
ctx_type
==
glow_eCtxType_Curve
)
{
((
CurveCtx
*
)
this
)
->
nav_zoom
();
((
CurveCtx
*
)
this
)
->
nav_zoom
();
return
;
return
;
}
}
if
(
nodraw
)
return
;
if
(
a
.
size
()
>
0
)
{
if
(
a
.
size
()
>
0
)
{
double
x_nav_left
,
x_nav_right
,
y_nav_low
,
y_nav_high
;
double
x_nav_left
,
x_nav_right
,
y_nav_low
,
y_nav_high
;
...
...
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