mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Removed cIntRetinaFactor and cRetinaFactor.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user