diff options
| author | root <root@jtx.marker.es> | 2014-09-24 19:22:34 +0000 |
|---|---|---|
| committer | root <root@jtx.marker.es> | 2014-09-24 19:22:34 +0000 |
| commit | 3f649ca279f98542e8147e9bd5ab67691c6e21a0 (patch) | |
| tree | fbfec0be1da58fd9c617ae5fd9ff8c1240944b7c /src/sp-item.cpp | |
| parent | A bit refactor, remove some old vars (diff) | |
| download | inkscape-3f649ca279f98542e8147e9bd5ab67691c6e21a0.tar.gz inkscape-3f649ca279f98542e8147e9bd5ab67691c6e21a0.zip | |
Fix bug in object dialog, in highlight color couldent select opacity, now fixed
(bzr r13341.1.224)
Diffstat (limited to 'src/sp-item.cpp')
| -rw-r--r-- | src/sp-item.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp index c3cbe531f..10dc1a32c 100644 --- a/src/sp-item.cpp +++ b/src/sp-item.cpp @@ -188,7 +188,7 @@ bool SPItem::isHighlightSet() const { guint32 SPItem::highlight_color() const { if (_highlightColor) { - return atoi(_highlightColor) | 0x000000ff; + return atoi(_highlightColor) | 0x00000000; } else if (parent && parent != this && SP_IS_ITEM(parent)) { @@ -197,7 +197,7 @@ guint32 SPItem::highlight_color() const { else { static Inkscape::Preferences *prefs = Inkscape::Preferences::get(); - return prefs->getInt("/tools/nodes/highlight_color", 0xff0000ff) | 0x000000ff; + return prefs->getInt("/tools/nodes/highlight_color", 0xff0000ff) | 0x00000000; } } |
