Fix crash when toggling asset shelf "Show Names" with sidebar open
There was an earlier version of this fix in the asset shelf branch, but
got reverted after the new version ended in main 4137f9a87f
. But I
forgot to update the branch for the new fix.
This commit is contained in:
parent
d0d21f2934
commit
42dfa740c4
|
@ -361,7 +361,7 @@ static void asset_shelf_region_snap_height_to_closest(ScrArea *area,
|
|||
|
||||
if (region->sizey != new_size_y) {
|
||||
region->sizey = new_size_y;
|
||||
area->flag |= AREA_FLAG_REGION_SIZE_UPDATE;
|
||||
ED_area_tag_region_size_update(area, region);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue