Skip to content

Commit

Permalink
Merge pull request #196 from buchizo/fix-195
Browse files Browse the repository at this point in the history
fix transparent controll for GlyphMarginGrid
  • Loading branch information
buchizo authored Apr 24, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 2ef2fbb + f27f935 commit 70029b0
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ClaudiaIDE/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="ClaudiaIDE..7442ac19-889b-4699-a817-e6e054877ee3" Version="3.1.37" Language="en-US" Publisher="buchizo" />
<Identity Id="ClaudiaIDE..7442ac19-889b-4699-a817-e6e054877ee3" Version="3.1.38" Language="en-US" Publisher="buchizo" />
<DisplayName>ClaudiaIDE</DisplayName>
<Description xml:space="preserve">This extension change the background image of editor.</Description>
<MoreInfo>https://github.com/buchizo/ClaudiaIDE</MoreInfo>
2 changes: 1 addition & 1 deletion ClaudiaIDE16/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="ClaudiaIDE2019.9ab800ef-0cff-4893-bf16-57d58ff53456" Version="3.1.37" Language="en-US" Publisher="k.buchi" />
<Identity Id="ClaudiaIDE2019.9ab800ef-0cff-4893-bf16-57d58ff53456" Version="3.1.38" Language="en-US" Publisher="k.buchi" />
<DisplayName>ClaudiaIDE 2019</DisplayName>
<Description xml:space="preserve">This extension change the background image of editor.</Description>
<MoreInfo>https://github.com/buchizo/ClaudiaIDE</MoreInfo>
3 changes: 2 additions & 1 deletion Shared/ClaudiaIDE.cs
Original file line number Diff line number Diff line change
@@ -563,7 +563,8 @@ private async Task SetTransparentForChildAsync(DependencyObject d, ParentControl
var type = c.GetType();
if (type == null) continue;
if (type.FullName.Equals("System.Windows.Controls.Primitives.Thumb", StringComparison.OrdinalIgnoreCase)) return;
if (type.FullName.Equals("Microsoft.VisualStudio.Text.Utilities.ContainerMargin", StringComparison.OrdinalIgnoreCase))
if (type.FullName.Equals("Microsoft.VisualStudio.Text.Utilities.ContainerMargin", StringComparison.OrdinalIgnoreCase)
|| type.FullName.EndsWith("Microsoft.VisualStudio.Text.Editor.Implementation.GlyphMarginGrid", StringComparison.OrdinalIgnoreCase))
{
tp.ContentMargin = true;
}
2 changes: 1 addition & 1 deletion Shared/ClaudiaIdePackage.cs
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@
namespace ClaudiaIDE
{
[PackageRegistration(UseManagedResourcesOnly = true, AllowsBackgroundLoading = true)]
[InstalledProductRegistration("#110", "#112", "3.1.37", IconResourceID = 400)]
[InstalledProductRegistration("#110", "#112", "3.1.38", IconResourceID = 400)]
[ProvideOptionPage(typeof(ClaudiaIdeOptionPageGrid), "ClaudiaIDE", "Light theme", 110, 116, true)]
[ProvideOptionPage(typeof(ClaudiaIdeDarkThemeOptionPageGrid), "ClaudiaIDE", "Dark theme", 110, 117, true)]
[ProvideOptionPage(typeof(ClaudiaIdeGeneralOptionPageGrid), "ClaudiaIDE", "General", 110, 118, true)]

0 comments on commit 70029b0

Please sign in to comment.