==paint==

change CKEY to toggle paint on or off in image paint patch by Stephan Kassemeyer
This commit is contained in:
Tom Musgrove 2006-03-25 22:29:48 +00:00
parent 97fbe88dc1
commit 9fcf5f0957

@ -3979,8 +3979,8 @@ static void winqreadimagespace(ScrArea *sa, void *spacedata, BWinEvent *evt)
if (sima->flag & SI_DRAWTOOL) {
switch(event) {
case CKEY:
add_blockhandler(curarea, IMAGE_HANDLER_PAINT, UI_PNL_UNSTOW);
case CKEY:
toggle_blockhandler(curarea, IMAGE_HANDLER_PAINT, UI_PNL_UNSTOW);
scrarea_queue_winredraw(curarea);
break;
case LEFTMOUSE: