notes, because it's 5pm here

This commit is contained in:
Mike Griese 2021-11-10 16:54:31 -06:00
parent 88f2e64bb3
commit ae833a77bd
2 changed files with 7 additions and 0 deletions

View file

@ -127,6 +127,12 @@ namespace winrt::TerminalApp::implementation
void TerminalPage::_PreviewActionHandler(const IInspectable& /*sender*/,
const Microsoft::Terminal::Settings::Model::Command& args)
{
// TODO! Before PR merges:
// - The changes in here were trying to fix "Open the select scheme
// menu, preview a few, dismiss -> second-last scheme gets restored"
// bug. They resulted in a new bug: "previewing a scheme while using
// an unfocused apprearance, then dismissing -> unfocused scheme gets
// applied". Fix in morning.
_EndPreview();
if (args == nullptr || args.ActionAndArgs() == nullptr)
{

View file

@ -24,6 +24,7 @@ namespace winrt::Microsoft::Terminal::Control::implementation
// Color table is _extra_ special because each individual color is
// overridable, not the whole array.
// TODO! Pretty sure this is overkill, or never actually used. Remove?
std::array<std::optional<winrt::Microsoft::Terminal::Core::Color>, COLOR_TABLE_SIZE> _runtimeColorTable;
public: