diff --git a/src/kits/tracker/TextWidget.cpp b/src/kits/tracker/TextWidget.cpp index 3d36f8d803..79dbb58ebf 100644 --- a/src/kits/tracker/TextWidget.cpp +++ b/src/kits/tracker/TextWidget.cpp @@ -456,13 +456,12 @@ BTextWidget::StartEdit(BRect bounds, BPoseView* view, BPose* pose) textView->AddFilter(new BMessageFilter(B_KEY_DOWN, TextViewKeyDownFilter)); if (view->SelectedVolumeIsReadOnly()) { + textView->AdoptSystemColors(); textView->MakeEditable(false); textView->MakeSelectable(true); - // tint text view background color to indicate not editable - textView->SetViewColor(tint_color(textView->ViewColor(), - ReadOnlyTint(textView->ViewColor()))); - } else + } else { textView->AddFilter(new BMessageFilter(B_PASTE, TextViewPasteFilter)); + } // get full text length rect.right = rect.left + textView->LineWidth(); diff --git a/src/kits/tracker/Utilities.cpp b/src/kits/tracker/Utilities.cpp index 9c5ab16123..a07b498ba0 100644 --- a/src/kits/tracker/Utilities.cpp +++ b/src/kits/tracker/Utilities.cpp @@ -91,7 +91,7 @@ float ReadOnlyTint(rgb_color base) { // darken tint if read-only (or lighten if dark) - return base.IsLight() ? B_DARKEN_1_TINT : 0.85; + return base.IsLight() ? B_DARKEN_1_TINT : 0.853; }