Removed cIntRetinaFactor and cRetinaFactor.

This commit is contained in:
23rd
2024-03-24 01:04:33 +03:00
parent 58fcedab64
commit d03d50ef0d
64 changed files with 411 additions and 270 deletions
-8
View File
@@ -126,14 +126,6 @@ inline bool passcodeCanTry() {
return dt >= 30000;
}
inline float64 cRetinaFactor() {
return style::DevicePixelRatio();
}
inline int32 cIntRetinaFactor() {
return style::DevicePixelRatio();
}
inline int cEvalScale(int scale) {
return (scale == style::kScaleAuto) ? cScreenScale() : scale;
}