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
f1d707fc
Commit
f1d707fc
authored
Oct 15, 2019
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Glow ctx fix to avoid recursive call of nav_zoom
parent
2f49473b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
xtt/lib/glow/src/glow_ctx.cpp
xtt/lib/glow/src/glow_ctx.cpp
+3
-3
No files found.
xtt/lib/glow/src/glow_ctx.cpp
View file @
f1d707fc
...
@@ -833,14 +833,14 @@ void GlowCtx::paste_execute()
...
@@ -833,14 +833,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
)
{
get_borders
();
get_borders
();
double
x_nav_left
=
MIN
(
x_left
,
mw
.
offset_x
/
mw
.
zoom_factor_x
);
double
x_nav_left
=
MIN
(
x_left
,
mw
.
offset_x
/
mw
.
zoom_factor_x
);
...
...
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