• flackr's avatar
    Don't minimize dragged window when shelf hidden. · 35afaeb4
    flackr authored
    If the shelf hides we should not immediately minimize a dragged panel. This panel can be dropped where it now is and detached.
    
    BUG=393047
    TEST=PanelWindowResizerTest.DetachThenHideShelf
    TEST=Drag a panel window while switching profiles. There is no crash and the window is detached where it was when switching back.
    
    Review URL: https://codereview.chromium.org/582803002
    
    Cr-Commit-Position: refs/heads/master@{#295711}
    35afaeb4
panel_layout_manager.cc 34.6 KB