Stop using scale factor for font and pixel size scaling

This commit is contained in:
Pandagrapher
2022-12-09 16:09:03 +01:00
parent cc48ad2aa1
commit 21ebb81ece
10 changed files with 16 additions and 26 deletions

View File

@@ -267,8 +267,7 @@ int RTScalable::getScale ()
double RTScalable::getGlobalScale()
{
return (RTScalable::getDPI() / RTScalable::baseDPI *
static_cast<double>(RTScalable::getScale()));
return (RTScalable::getDPI() / RTScalable::baseDPI);
}
int RTScalable::scalePixelSize(const int pixel_size)