Tracker: Fix remaining drawing artifacts, last part of #18826
Change-Id: I9483d67bfb98207e1cde726aaa00df6031933f3c Reviewed-on: https://review.haiku-os.org/c/haiku/+/9496 Tested-by: Commit checker robot <[email protected]> Reviewed-by: John Scipione <[email protected]>
This commit is contained in:
@@ -185,6 +185,8 @@ BTextWidget::CalcRectCommon(BPoint poseLoc, const BColumn* column,
|
||||
rect.top = rect.bottom - floorf(ActualFontHeight(view));
|
||||
} else {
|
||||
float iconSize = (float)view->IconSizeInt();
|
||||
textWidth = floorf(textWidth);
|
||||
// prevent drawing artifacts from selection rect drawing an extra pixel
|
||||
|
||||
if (view->ViewMode() == kIconMode) {
|
||||
// icon mode
|
||||
|
||||
Reference in New Issue
Block a user