Ticket #12569: Tracker-QueryPoseView.patch

File Tracker-QueryPoseView.patch, 1006 bytes (added by looncraz, 9 years ago)

CORRECT PATCH

  • src/kits/tracker/QueryPoseView.cpp

    From 1fa3255051aefd08493fc1e7527ddef2a9dc5484 Mon Sep 17 00:00:00 2001
    From: looncraz <looncraz@looncraz.net>
    Date: Thu, 7 Jan 2016 20:08:35 -0600
    Subject: [PATCH] Correct Tracker QueryPoseView Column Resize Appearance
    
    PoseView's ColumnRedraw fills exposed areas in manually in an offscreen view
    using the PoseView's LowColor.  As QueryPoseView uses a custom view color it
    is necessary for the low color to match, otherwise resizing a column will
    draw the untinted document background color.
    ---
     src/kits/tracker/QueryPoseView.cpp | 1 +
     1 file changed, 1 insertion(+)
    
    diff --git a/src/kits/tracker/QueryPoseView.cpp b/src/kits/tracker/QueryPoseView.cpp
    index 2953bcd..bafe85f 100644
    a b BQueryPoseView::AttachedToWindow()  
    144144{
    145145    _inherited::AttachedToWindow();
    146146    SetViewUIColor(B_DOCUMENT_BACKGROUND_COLOR, B_DARKEN_1_TINT);
     147    SetLowUIColor(B_DOCUMENT_BACKGROUND_COLOR, B_DARKEN_1_TINT);
    147148}
    148149
    149150