thanks spell bot

This commit is contained in:
Mike Griese 2021-10-26 14:45:35 -05:00
parent f087dd8236
commit f111c6d72d
5 changed files with 2 additions and 7 deletions

View file

@ -161,7 +161,7 @@ NewTerminalArgs Pane::GetTerminalArgsForPane() const
// control own its own copy of its settings, this isn't possible anymore.
//
// We may be able to get around this by storing the Name in the Core::Scheme
// object. That would work for schemes set by the Termnial, but not ones set
// object. That would work for schemes set by the Terminal, but not ones set
// by VT, but that seems good enough.
return args;

View file

@ -1598,7 +1598,7 @@ namespace winrt::Microsoft::Terminal::Control::implementation
Core::Scheme ControlCore::ColorScheme() const noexcept
{
auto s = _terminal->GetColorScheme();
// This might be a tad bit of a hack. This only evet gets called by set
// This might be a tad bit of a hack. This event only gets called by set
// color scheme / preview color scheme, and in that case, we know the
// control _is_ focused.
s.SelectionBackground = _settings->FocusedAppearance()->SelectionBackground();

View file

@ -154,7 +154,6 @@ namespace winrt::Microsoft::Terminal::Control::implementation
winrt::com_ptr<SearchBoxControl> _searchBox;
// winrt::com_ptr<ControlSettings> _settings{ nullptr };
bool _closing{ false };
bool _focused{ false };
bool _initializedTerminal{ false };

View file

@ -404,21 +404,18 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
{
_PropertyChangedHandlers(*this, PropertyChangedEventArgs{ L"CurrentScrollState" });
}
// _previewControl.Settings(_State.Profile().TermSettings());
_previewControl.UpdateControlSettings(_State.Profile().TermSettings());
});
// The Appearances object handles updating the values in the settings UI, but
// we still need to listen to the changes here just to update the preview control
_AppearanceViewModelChangedRevoker = _State.Profile().DefaultAppearance().PropertyChanged(winrt::auto_revoke, [=](auto&&, const PropertyChangedEventArgs& /*args*/) {
// _previewControl.Settings(_State.Profile().TermSettings());
_previewControl.UpdateControlSettings(_State.Profile().TermSettings());
});
// Navigate to the pivot in the provided navigation state
ProfilesPivot().SelectedIndex(static_cast<int>(_State.LastActivePivot()));
// _previewControl.Settings(_State.Profile().TermSettings());
// There is a possibility that the control has not fully initialized yet,
// so wait for it to initialize before updating the settings (so we know
// that the renderer is set up)

View file

@ -2249,7 +2249,6 @@ void DxEngine::SetDefaultTextBackgroundOpacity(const bool useAcrylic) noexcept
try
{
_defaultBackgroundIsTransparent = useAcrylic;
// _defaultTextBackgroundOpacity = opacity;
// Make sure we redraw all the cells, to update whether they're actually
// drawn with cleartype or not.