outputconfigurationstore: reformat comment

GIT_SILENT
remotes/origin/work/d_ed/layer_paint_optimise
Nate Graham 3 years ago
parent 480f857d29
commit dd4f879ecd
  1. 13
      src/outputconfigurationstore.cpp

@ -122,13 +122,12 @@ double OutputConfigurationStore::chooseScale(Output *output, OutputMode *mode) c
double OutputConfigurationStore::targetDpi(Output *output) const double OutputConfigurationStore::targetDpi(Output *output) const
{ {
/* The eye's ability to perceive detail diminishes with distance, so objects // The eye's ability to perceive detail diminishes with distance, so objects
* that are closer can be smaller and their details remain equally // that are closer can be smaller and their details remain equally
* distinguishable. As a result, each device type has its own ideal physical // distinguishable. As a result, each device type has its own ideal physical
* size of items on its screen based on how close the user's eyes are // size of items on its screen based on how close the user's eyes are
* expected to be from it on average, and its target DPI value needs to be // expected to be from it on average, and its target DPI value needs to be
* changed accordingly. // changed accordingly.
*/
const auto devices = input()->devices(); const auto devices = input()->devices();
const bool hasLaptopLid = std::any_of(devices.begin(), devices.end(), [](const auto &device) { const bool hasLaptopLid = std::any_of(devices.begin(), devices.end(), [](const auto &device) {
return device->isLidSwitch(); return device->isLidSwitch();

Loading…
Cancel
Save