Fix #110085: Ignore Scroller Zone when on a Screen Edge #110402

Merged
Harley Acheson merged 1 commits from Harley/blender:SpreadsheetResize into main 2023-08-10 20:41:53 +02:00
1 changed files with 4 additions and 1 deletions

View File

@ -895,7 +895,10 @@ static void screen_cursor_set(wmWindow *win, const int xy[2])
ScrArea *area = nullptr;
LISTBASE_FOREACH (ScrArea *, area_iter, &screen->areabase) {
if ((az = ED_area_actionzone_find_xy(area_iter, xy))) {
az = ED_area_actionzone_find_xy(area_iter, xy);
/* Scrollers use default cursor and their zones extend outside of their
* areas. Ignore here so we can always detect screen edges - #110085. */
if (az && az->type != AZONE_REGION_SCROLL) {
area = area_iter;
break;
}