HiDPI: remove more unneeded scaling of icons
Change-Id: I521024af62ea15db80f5e851875b18dcf18556e4 Reviewed-on: https://gerrit.libreoffice.org/30380 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
This commit is contained in:
parent
69b6ab1f8d
commit
a0cf18f58f
@ -551,9 +551,6 @@ void LayoutMenu::Fill()
|
|||||||
{
|
{
|
||||||
BitmapEx aBmp(SdResId(pInfo->mnBmpResId));
|
BitmapEx aBmp(SdResId(pInfo->mnBmpResId));
|
||||||
|
|
||||||
if (GetDPIScaleFactor() > 1)
|
|
||||||
aBmp.Scale(GetDPIScaleFactor(), GetDPIScaleFactor(), BmpScaleFlag::Fast);
|
|
||||||
|
|
||||||
if (bRightToLeft && (WritingMode_TB_RL != pInfo->meWritingMode))
|
if (bRightToLeft && (WritingMode_TB_RL != pInfo->meWritingMode))
|
||||||
aBmp.Mirror (BmpMirrorFlags::Horizontal);
|
aBmp.Mirror (BmpMirrorFlags::Horizontal);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user