Fix manipulator resetting the cursor
This commit is contained in:
parent
2451a1951e
commit
1cf0930e89
|
@ -865,13 +865,14 @@ void wm_manipulatormap_highlight_set(
|
|||
|
||||
if (C && mpr->type->cursor_get) {
|
||||
wmWindow *win = CTX_wm_window(C);
|
||||
win->lastcursor = win->cursor;
|
||||
WM_cursor_set(win, mpr->type->cursor_get(mpr));
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (C) {
|
||||
wmWindow *win = CTX_wm_window(C);
|
||||
WM_cursor_set(win, CURSOR_STD);
|
||||
WM_cursor_set(win, win->lastcursor);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue