summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8151996)
raw | patch | inline | side by side (parent: 8151996)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 29 Jun 2008 17:21:58 +0000 (17:21 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 29 Jun 2008 17:21:58 +0000 (17:21 +0000) |
src/display/nr-arena-shape.cpp | patch | blob | history |
index 7bd80c73260f8218d1b18c8298b48454825436f3..6974b000817f7dca8e0efeafa83d628d56e0a5c0 100644 (file)
@@ -1068,14 +1068,16 @@ nr_arena_shape_pick(NRArenaItem *item, NR::Point p, double delta, unsigned int /
if (!shape->curve) return NULL;
if (!shape->style) return NULL;
- if (SP_SCALE24_TO_FLOAT(shape->style->opacity.value) == 0) // fully transparent, no pick
+
+ bool outline = (NR_ARENA_ITEM(shape)->arena->rendermode == Inkscape::RENDERMODE_OUTLINE);
+
+ if (SP_SCALE24_TO_FLOAT(shape->style->opacity.value) == 0 && !outline)
+ // fully transparent, no pick unless outline mode
return NULL;
GTimeVal tstart, tfinish;
g_get_current_time (&tstart);
- bool outline = (NR_ARENA_ITEM(shape)->arena->rendermode == Inkscape::RENDERMODE_OUTLINE);
-
double width;
if (outline) {
width = 0.5;