Skip to content
Snippets Groups Projects

qml: fix drop shadow scaling

Open Pierre Lamot requested to merge chub/vlc:qml/drop-shadow-scale into master

This fixes shadows not being scaled correctly when item size changes or when DPR changes

the issue is illustrated bellow, effect is shown without the blur effect applied to make it easier to the issues

before now
bad aspect ratio bad-ar.png good_ar.png
bad shadow scaling (large source) bad_scale good_scale
bad shadow scaling (very small source) bad_scale2.png good_scale2.png

Image also scales correctly with DPR

1x 2x
high_dpi_1 high_dpi_2

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading