remove Th24StrokeOffset math

This commit is contained in:
Alexander Frick 2024-11-08 17:25:25 -06:00
parent 12aa3c6807
commit b71d333211

View file

@ -1349,15 +1349,15 @@ index 65676013fece9..e59963fadac56 100644
+ #if !BUILDFLAG(IS_WIN)
+ if (features::IsThorium2024()) {
+ constexpr int Th24StrokeOffset = 1;
+ top -= Th24StrokeOffset;
+ //constexpr int Th24StrokeOffset = 1;
+ //top -= Th24StrokeOffset;
+ //bottom -= Th24StrokeOffset;
+ }
+ #else
+ VLOG(0) << "Th24StrokeOffset on Windows is imperfect";
+ if (features::IsThorium2024()) {
+ constexpr int Th24StrokeOffset = 1;
+ top += Th24StrokeOffset;
+ //constexpr int Th24StrokeOffset = 1;
+ //top += Th24StrokeOffset;
+ //bottom -= Th24StrokeOffset;
+ }
+ #endif