UI: Adjustments to Minimum Area Sizes #119848

Merged
Harley Acheson merged 2 commits from Harley/blender:MinSizeSnapLineWidth into main 2024-03-24 19:40:28 +01:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 318c64774b - Show all commits

View File

@ -1692,7 +1692,7 @@ static void area_move_set_limits(wmWindow *win,
areamin += U.pixelsize;
}
int y1 = screen_geom_area_height(area) - areamin;
int y1 = screen_geom_area_height(area) - areamin - U.pixelsize;
/* if top or down edge selected, test height */
if (area->v1->editflag && area->v4->editflag) {
@ -1712,7 +1712,7 @@ static void area_move_set_limits(wmWindow *win,
areamin += U.pixelsize;
}
int x1 = screen_geom_area_width(area) - areamin;
int x1 = screen_geom_area_width(area) - areamin - U.pixelsize;
/* if left or right edge selected, test width */
if (area->v1->editflag && area->v2->editflag) {