diff options
author | Andy Shaw <andy.shaw@qt.io> | 2019-06-28 08:54:24 +0200 |
---|---|---|
committer | Andy Shaw <andy.shaw@qt.io> | 2019-07-03 12:43:46 +0200 |
commit | f9664053132affe48a069235eb6561a32d38b2a7 (patch) | |
tree | 956d02bb8ec0b85acddfb171565f5f5d9db6c7b9 /dist | |
parent | c8ba132f6ca78f63440f21e9a18f9e90f62377f1 (diff) |
Account for the device pixel ratio when showing a DropShadow
The radius and samples needs to be multiplied by the device pixel ratio
so that it looks as it would if it was on a non HighDpi screen. So the
size of the shadow still looks the same size and as good.
Change-Id: Ifa87ec6fad5cdded1a7b1888b2e8c74bcc3f0b54
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions