From 7b4d58faf59da2981349ebfacdbcdd64fc05f228 Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Sat, 13 Sep 2008 16:51:16 +0000 Subject: Hide canvas text, too, when lpe-path-length is invisible (bzr r6801) --- src/live_effects/lpe-path_length.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/live_effects/lpe-path_length.cpp') diff --git a/src/live_effects/lpe-path_length.cpp b/src/live_effects/lpe-path_length.cpp index 3b9b07c82..5ecf2ffa2 100644 --- a/src/live_effects/lpe-path_length.cpp +++ b/src/live_effects/lpe-path_length.cpp @@ -34,6 +34,12 @@ LPEPathLength::~LPEPathLength() } +bool +LPEPathLength::hideCanvasText() { + // this is only used in sp-lpe-item.cpp to hide the canvas text when the effect is invisible + info_text.param_setValue(""); +} + Geom::Piecewise > LPEPathLength::doEffect_pwd2 (Geom::Piecewise > const & pwd2_in) { -- cgit v1.2.3