From 96b581a68d8a40ec2444d74289cc5f7a30601aa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=AF=E6=AD=8C?= Date: Sat, 13 Jul 2024 22:12:29 +0800 Subject: [PATCH] remove some verbose log --- src/gui/drawables/bitmapdrawable.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gui/drawables/bitmapdrawable.cc b/src/gui/drawables/bitmapdrawable.cc index cf194616..7c173174 100755 --- a/src/gui/drawables/bitmapdrawable.cc +++ b/src/gui/drawables/bitmapdrawable.cc @@ -414,8 +414,7 @@ void BitmapDrawable::draw(Canvas&canvas){ const float alpha = mBitmapState->mBaseAlpha*mBitmapState->mAlpha/255.f; const int angle_degrees = getRotateAngle(canvas); const Cairo::SurfacePattern::Filter filterMode = (mBitmapState->mFilterBitmap==false)?SurfacePattern::Filter::NEAREST:SurfacePattern::Filter::BILINEAR; - LOGD_IF(((angle_degrees%90)||(getOpacity()!=PixelFormat::OPAQUE))&&(mBitmapState->mFilterBitmap==false), - "Maybe you must use setFilterBitmap(true)"); + LOGD_IF((angle_degrees%90)&&(mBitmapState->mFilterBitmap==false),"Maybe you must use setFilterBitmap(true)"); canvas.rectangle(mBounds.left,mBounds.top,mBounds.width,mBounds.height); canvas.clip(); if ( (mBounds.width !=mBitmapWidth) || (mBounds.height != mBitmapHeight) ) {