typo in last commit
This commit is contained in:
@@ -585,7 +585,7 @@ static bool initWalkInfo(bContext *C, WalkInfo *walk, wmOperator *op)
|
||||
walk->center_mval[0] += walk->ar->winrct.xmin;
|
||||
walk->center_mval[1] += walk->ar->winrct.ymin;
|
||||
|
||||
WM_cursor_comaptible_xy(win, &walk->center_mval[0], &walk->center_mval[1]);
|
||||
WM_cursor_compatible_xy(win, &walk->center_mval[0], &walk->center_mval[1]);
|
||||
|
||||
walk->center_mval[0] -= walk->ar->winrct.xmin;
|
||||
walk->center_mval[1] -= walk->ar->winrct.ymin;
|
||||
|
||||
@@ -130,7 +130,7 @@ void WM_paint_cursor_end(struct wmWindowManager *wm, void *handle);
|
||||
void WM_paint_cursor_tag_redraw(struct wmWindow *win, struct ARegion *ar);
|
||||
|
||||
void WM_cursor_warp (struct wmWindow *win, int x, int y);
|
||||
void WM_cursor_comaptible_xy(wmWindow *win, int *x, int *y);
|
||||
void WM_cursor_compatible_xy(wmWindow *win, int *x, int *y);
|
||||
float WM_cursor_pressure (const struct wmWindow *win);
|
||||
|
||||
/* event map */
|
||||
|
||||
@@ -1559,7 +1559,7 @@ void WM_cursor_warp(wmWindow *win, int x, int y)
|
||||
/**
|
||||
* Set x, y to values we can actually position the cursor to.
|
||||
*/
|
||||
void WM_cursor_comaptible_xy(wmWindow *win, int *x, int *y)
|
||||
void WM_cursor_compatible_xy(wmWindow *win, int *x, int *y)
|
||||
{
|
||||
float f = GHOST_GetNativePixelSize(win->ghostwin);
|
||||
if (f != 1.0f) {
|
||||
|
||||
Reference in New Issue
Block a user