spelling corrections
This commit is contained in:
@@ -1138,7 +1138,7 @@ void ED_area_newspace(bContext *C, ScrArea *sa, int type)
|
||||
/* tell WM to refresh, cursor types etc */
|
||||
WM_event_add_mousemove(C);
|
||||
|
||||
/*send space change notifyer*/
|
||||
/*send space change notifier*/
|
||||
WM_event_add_notifier(C, NC_SPACE|ND_SPACE_CHANGED, sa);
|
||||
|
||||
ED_area_tag_refresh(sa);
|
||||
@@ -1165,7 +1165,7 @@ void ED_area_prevspace(bContext *C, ScrArea *sa)
|
||||
}
|
||||
ED_area_tag_redraw(sa);
|
||||
|
||||
/*send space change notifyer*/
|
||||
/*send space change notifier*/
|
||||
WM_event_add_notifier(C, NC_SPACE|ND_SPACE_CHANGED, sa);
|
||||
}
|
||||
|
||||
@@ -1213,7 +1213,7 @@ static void spacefunc(struct bContext *C, void *UNUSED(arg1), void *UNUSED(arg2)
|
||||
ED_area_newspace(C, CTX_wm_area(C), CTX_wm_area(C)->butspacetype);
|
||||
ED_area_tag_redraw(CTX_wm_area(C));
|
||||
|
||||
/*send space change notifyer*/
|
||||
/*send space change notifier*/
|
||||
WM_event_add_notifier(C, NC_SPACE|ND_SPACE_CHANGED, CTX_wm_area(C));
|
||||
}
|
||||
|
||||
|
@@ -340,7 +340,7 @@ static int wm_handler_ui_call(bContext *C, wmEventHandler *handler, wmEvent *eve
|
||||
int is_wheel= ELEM(event->type, WHEELUPMOUSE, WHEELDOWNMOUSE);
|
||||
int retval;
|
||||
|
||||
/* UI is quite agressive with swallowing events, like scrollwheel */
|
||||
/* UI is quite aggressive with swallowing events, like scrollwheel */
|
||||
/* I realize this is not extremely nice code... when UI gets keymaps it can be maybe smarter */
|
||||
if(do_wheel_ui==0) {
|
||||
if(is_wheel)
|
||||
@@ -1577,7 +1577,7 @@ static int wm_handlers_do(bContext *C, wmEvent *event, ListBase *handlers)
|
||||
* so check for mouse moves too.
|
||||
* note2: the first click event will be handled but still used to create a
|
||||
* double click event if clicking again quickly.
|
||||
* If no double click events are found itwill fallback to a single click.
|
||||
* If no double click events are found it will fallback to a single click.
|
||||
* So a double click event can result in 2 successive single click calls
|
||||
* if its not handled by the keymap - campbell */
|
||||
if ( (ABS(event->x - win->eventstate->prevclickx)) <= 2 &&
|
||||
|
Reference in New Issue
Block a user