mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-26 13:58:49 +00:00
Use int instead of uint for vector dimension cap.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user