Fixed
Status Update
Comments
se...@google.com <se...@google.com>
co...@google.com <co...@google.com>
co...@google.com <co...@google.com>
co...@google.com <co...@google.com> #2
We introduced currentWindowDpSize() funciton to solve the issue.
Description
windowSizeAsState
is returning a pixelSize
, not aDpSize
.Because this is being calculated in composition, it's usually preferred to deal with size in
Dp
values at this level, and convert to pixels later.