Commit f1d707fc authored by Claes Sjofors's avatar Claes Sjofors

Glow ctx fix to avoid recursive call of nav_zoom

parent 2f49473b
......@@ -833,14 +833,14 @@ void GlowCtx::paste_execute()
void GlowCtx::nav_zoom()
{
if (nodraw)
return;
if (ctx_type == glow_eCtxType_Curve) {
((CurveCtx*)this)->nav_zoom();
return;
}
if (nodraw)
return;
if (a.size() > 0) {
get_borders();
double x_nav_left = MIN(x_left, mw.offset_x / mw.zoom_factor_x);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment