Changeset e42bf2c in subsurface


Ignore:
Timestamp:
Apr 14, 2017, 4:57:09 PM (6 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
6a50efd
Parents:
c00b14a
Message:

QML UI: fix profile for device pixel ratio of 1.5

I think this is actually a typo - either way, seems to work correctly
now.

Signed-off-by: Dirk Hohndel <dirk@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mobile-widgets/qmlprofile.cpp

    re700ea9 re42bf2c  
    4141        double magicValues[] = { 0.0, 0.1, 0.25, 0.33, 0.375, 0.40, 0.42};
    4242        qreal magicShiftFactor = 0.0;
    43         if (dpr <= 1.5) {
     43        if (dpr < 1.5) {
    4444                magicShiftFactor = magicValues[0];
    4545        } else if (dpr > 6.0) {
Note: See TracChangeset for help on using the changeset viewer.