summaryrefslogtreecommitdiffstats
path: root/subsurface-mobile-helper.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-04-03 12:49:14 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-04-04 11:00:18 -0700
commite700ea9638907c63a2cc032e005da9352341bd1c (patch)
tree37ed68ad00caa14aa6d0ca14b3ae569ef83aa457 /subsurface-mobile-helper.cpp
parente4086dc74648c5f5ed7b72f1dc35e16e3bee8041 (diff)
downloadsubsurface-e700ea9638907c63a2cc032e005da9352341bd1c.tar.gz
QML UI: more hacks for the magicShiftFactor hack
Since the device pixel ratio can be a fraction we should interpolate the values. I still don't really understand why this is necessary, so this is a hack on top of a hack - but for most values I tried this does seem to give us a reasonably well placed (and well scaled) profile. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-mobile-helper.cpp')
0 files changed, 0 insertions, 0 deletions