mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 06:18:45 +08:00
chore: bump deps (#15151)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
# Function: getEffectiveDpr()
|
||||
|
||||
> **getEffectiveDpr**(`zoom`, `rawDpr`): `number`
|
||||
> **getEffectiveDpr**(`zoom`, `rawDpr?`): `number`
|
||||
|
||||
Resolves the effective device-pixel-ratio for canvas backing stores at the
|
||||
given zoom, honoring [viewportRuntimeConfig.CANVAS\_DPR\_CAP\_BY\_ZOOM](../variables/viewportRuntimeConfig.md#canvas_dpr_cap_by_zoom).
|
||||
@@ -19,7 +19,7 @@ Returns the raw `window.devicePixelRatio` when no cap applies.
|
||||
|
||||
`number`
|
||||
|
||||
### rawDpr
|
||||
### rawDpr?
|
||||
|
||||
`number` = `window.devicePixelRatio`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user