mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-21 11:53:07 +09:00
Use int instead of uint for vector dimension cap.
This commit is contained in:
parent
ea3f12320f
commit
0b2d3c5cfa
1 changed files with 1 additions and 1 deletions
|
|
@ -935,7 +935,7 @@ VectorImage::CreateSurfaceAndShow(const SVGDrawingParameters& aParams, BackendTy
|
|||
// x or y > maxDimension, because for vector images this can cause bad perf
|
||||
// issues if large sizes are scaled repeatedly (a rather common scenario)
|
||||
// that can quickly exhaust the cache.
|
||||
uint32_t maxDimension = 3000;
|
||||
int32_t maxDimension = 3000;
|
||||
|
||||
bool bypassCache = bool(aParams.flags & FLAG_BYPASS_SURFACE_CACHE) ||
|
||||
// Refuse to cache animated images:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue