microsoft/Terminal

Pane opening animation should not flash the default pane backdrop

Open

#7,365 建立於 2020年8月21日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)C++ (3,212 fork)batch import
Area-UserInterfaceHelp WantedIssue-TaskPriority-3Product-Terminal

倉庫指標

Star
 (35,764 star)
PR 合併指標
 (平均合併 27天 19小時) (30 天內合併 24 個 PR)

描述

follow up to #7364

When we open a new pane there's a brief time when you can see the pane background color as the new pane slides in. This is because we immediately create the Row/Col definitions, so even if we animate the first pane getting smaller, the first pane only has half the parent grid to render into.

A solution we could do is use the background brush from the first child as the background of the parent pane, until the animation is finished. Then revert back to transparent. This will make the backgroud behind the pane sliding in look like it's the same as the first pane. This won't really help for background images, but I think this is a reasonable compromise.

貢獻者指南