diff options
| -rw-r--r-- | src/Fl_SVG_Image.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_SVG_Image.cxx b/src/Fl_SVG_Image.cxx index 7ff6c72fa..d7eb8c83c 100644 --- a/src/Fl_SVG_Image.cxx +++ b/src/Fl_SVG_Image.cxx @@ -250,6 +250,7 @@ void Fl_SVG_Image::draw(int X, int Y, int W, int H, int cx, int cy) { if (need_clip) fl_push_clip(X, Y, W, H); fl_graphics_driver->draw_scaled(this, X-cx, Y-cy, w1, h1); if (need_clip) fl_pop_clip(); + w(w1); h(h1); // restore the previous image size } } |
