diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2013-12-20 15:23:30 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2013-12-20 15:23:30 (GMT) |
commit | 18726b28d0286640d887d5dfe9e74a0972bc1bd0 (patch) | |
tree | ca2ed14f7d4310fa51fd3a757f46a8c9489429bf /toolbox.py | |
parent | fc74c6b45c6a9af08ba3119fba6df5bf1fb8d686 (diff) |
Fix bucket color - SL #4622
Divide and multiply the color numbers to use them in the different
formats needed produce rounding errors and change the color.
Store the bucket colors as integer in a separated property.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'toolbox.py')
-rw-r--r-- | toolbox.py | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -429,8 +429,6 @@ class ToolsToolbarBuilder(): self.set_tool(button, self._selected_tool_name) def _color_button_cb(self, widget, pspec): - logging.error('ToolsToolbarBuilder._color_button_cb') - new_color = widget.get_color() self._activity.area.set_stroke_color(new_color) |