X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fstate_sketch.cpp;h=0cac528a0c70099e27aa9b9e9236e935b2258b3a;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=8722b60808060d4d2b0e997df97ecd5a20fc4651;hpb=924d45497fce48981c5aec677028c67d2c047864;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/state_sketch.cpp b/synfig-studio/trunk/src/gtkmm/state_sketch.cpp index 8722b60..0cac528 100644 --- a/synfig-studio/trunk/src/gtkmm/state_sketch.cpp +++ b/synfig-studio/trunk/src/gtkmm/state_sketch.cpp @@ -487,10 +487,6 @@ StateSketch_Context::event_mouse_down_handler(const Smach::event& x) return Smach::RESULT_ACCEPT; } - case BUTTON_RIGHT: // Intercept the right-button click to short-circuit the pop-up menu - if (!getenv("SYNFIG_ENABLE_POPUP_MENU_IN_ALL_TOOLS")) - return Smach::RESULT_ACCEPT; - default: return Smach::RESULT_OK; } @@ -503,7 +499,7 @@ StateSketch_Context::event_stroke(const Smach::event& x) assert(event.stroke_data); - get_work_area()->add_persistent_stroke(event.stroke_data,synfigapp::Main::get_foreground_color()); + get_work_area()->add_persistent_stroke(event.stroke_data,synfigapp::Main::get_outline_color()); return Smach::RESULT_ACCEPT; }