From: David ‘Bombe’ Roden Date: Fri, 21 Aug 2009 08:04:46 +0000 (+0200) Subject: Fix initialization of color selector’s alpha value. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=fd108c2dcae14fedd04f9eb1207a8bfd5af65f96;p=synfig.git Fix initialization of color selector’s alpha value. --- diff --git a/synfig-studio/src/gtkmm/dialog_color.cpp b/synfig-studio/src/gtkmm/dialog_color.cpp index e7dfaa7..4837839 100644 --- a/synfig-studio/src/gtkmm/dialog_color.cpp +++ b/synfig-studio/src/gtkmm/dialog_color.cpp @@ -154,7 +154,7 @@ void Dialog_Color::set_color(const synfig::Color& color) { color_edit_widget->set_current_color(studio::colorconv_synfig2gdk(color)); - color_edit_widget->set_current_alpha(color.get_a()); + color_edit_widget->set_current_alpha(color.get_a() * 65535); } synfig::Color