Skip to content

[Bug] useDevicePixels: number type support removed #9823

@mcost45

Description

@mcost45

Description

#9241 changed the type for Deck prop useDevicePixels?: boolean | number -> useDevicePixels?: boolean, removing support for number input.

I assume this was unintentional as CanvasContextProps still has the boolean | number type?

Flavors

  • Script tag
  • React
  • Python/Jupyter notebook
  • MapboxOverlay
  • GoogleMapsOverlay
  • CARTO
  • ArcGIS

Expected Behavior

No response

Steps to Reproduce

Types

Environment

  • Framework version: 9.2.1
  • Browser: Chrome 141.0.7390.77
  • OS: Windows 11

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions