Skip to content

Commit 620d0a9

Browse files
authored
Fix project & Device Explorer icons missing at non-100% display scaling (#930)
Co-authored-by: Daniel Meza <daniel.meza2011@gmail.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> ***NO_CI***
1 parent 7700ecc commit 620d0a9

24 files changed

Lines changed: 24 additions & 24 deletions

VisualStudio.Extension-2019/Resources/DeviceCapabilities.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="16" Width="16">
1+
<Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
22
<Canvas Height="16" Width="16">
33
<Path Data="M 18 6 L 18 12 L 22 12 L 22 6 L 18 6 z M 26 6 L 26 12 L 30 12 L 30 6 L 26 6 z M 34 6 L 34 12 L 38 12 L 38 6 L 34 6 z M 42 6 L 42 12 L 46 12 L 46 6 L 42 6 z M 14 14 L 14 16 L 14 48 L 14 50 L 16 50 L 28.099609 50 C 28.033489 49.34194 28 48.67474 28 48 C 28 47.32526 28.033509 46.65806 28.099609 46 L 18 46 L 18 18 L 46 18 L 46 28.099609 C 46.65806 28.033489 47.32526 28 48 28 C 48.67474 28 49.34194 28.033509 50 28.099609 L 50 16 L 50 14 L 48 14 L 16 14 L 14 14 z M 6 18 L 6 22 L 12 22 L 12 18 L 6 18 z M 52 18 L 52 22 L 58 22 L 58 18 L 52 18 z M 6 26 L 6 30 L 12 30 L 12 26 L 6 26 z M 52 26 L 52 28.404297 C 53.64522 28.741697 55.217806 29.28304 56.691406 30 L 58 30 L 58 26 L 52 26 z M 48 32 C 39.2 32 32 39.2 32 48 C 32 56.8 39.2 64 48 64 C 56.8 64 64 56.8 64 48 C 64 39.2 56.8 32 48 32 z M 6 34 L 6 38 L 12 38 L 12 34 L 6 34 z M 48 36 C 54.6 36 60 41.4 60 48 C 60 54.6 54.6 60 48 60 C 41.4 60 36 54.6 36 48 C 36 41.4 41.4 36 48 36 z M 46 40 L 46 44 L 50 44 L 50 40 L 46 40 z M 6 42 L 6 46 L 12 46 L 12 42 L 6 42 z M 46 46 L 46 56 L 50 56 L 50 46 L 46 46 z M 18 52 L 18 58 L 22 58 L 22 52 L 18 52 z M 26 52 L 26 58 L 30 58 L 30 56.691406 C 29.28302 55.217806 28.741677 53.64522 28.404297 52 L 26 52 z " Fill="#FF000000" Height="16" Stretch="Uniform" Width="16" />
44
</Canvas>

VisualStudio.Extension-2019/Resources/DeviceConnected.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="16" Width="16">
1+
<Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
22
<Canvas Height="16" Width="16">
33
<Path Data="M 24.7813 5.78125 L 22.125 8.4375 L 21.6875 7.96875 C 20.7154 6.99664 19.438 6.5 18.1563 6.5 C 16.8745 6.5 15.5971 6.99664 14.625 7.96875 L 13.9063 8.65625 L 13 9.5625 L 12.2188 8.78125 L 10.7813 10.2188 L 21.7813 21.2188 L 23.2188 19.7813 L 22.4375 19 L 24.0313 17.375 C 25.9755 15.4308 25.9755 12.2567 24.0313 10.3125 L 23.5625 9.875 L 26.2188 7.21875 L 24.7813 5.78125 Z M 18.1563 8.5 C 18.9238 8.5 19.6914 8.78511 20.2813 9.375 L 22.625 11.7188 C 23.8048 12.8985 23.8048 14.789 22.625 15.9688 L 21 17.5625 L 14.4375 11 L 16.0313 9.375 C 16.6211 8.78511 17.3887 8.5 18.1563 8.5 Z M 10.2188 10.7813 L 8.78125 12.2188 L 9.5625 13 L 8.65625 13.9063 L 7.96875 14.625 C 6.02453 16.5692 6.02453 19.7433 7.96875 21.6875 L 8.40625 22.1563 L 5.78125 24.7813 L 7.21875 26.2188 L 9.84375 23.5938 L 10.3125 24.0313 C 12.2567 25.9755 15.4308 25.9755 17.375 24.0313 L 19 22.4375 L 19.7813 23.2188 L 21.2188 21.7813 L 10.2188 10.7813 Z M 11 14.4375 L 17.5625 21 L 15.9688 22.625 C 14.789 23.8048 12.8985 23.8048 11.7188 22.625 L 9.375 20.2813 C 8.19522 19.1015 8.19522 17.211 9.375 16.0313 L 11 14.4375 Z" Fill="#FF000000" Height="16" Stretch="Uniform" Width="16" />
44
</Canvas>

VisualStudio.Extension-2019/Resources/DeviceDisconnected.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="16" Width="16">
1+
<Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
22
<Canvas Height="16" Width="16">
33
<Path Data="M 27.2813 3.28125 L 24.625 5.9375 L 24.1875 5.46875 C 23.2154 4.49664 21.938 4 20.6563 4 C 19.3745 4 18.0971 4.49664 17.125 5.46875 L 16.4063 6.15625 L 15.5 7.0625 L 14.7188 6.28125 L 13.2813 7.71875 L 16.0625 10.5 L 13.2813 13.2813 L 14.7188 14.7188 L 17.5 11.9375 L 20.0625 14.5 L 17.2813 17.2813 L 18.7188 18.7188 L 21.5 15.9375 L 24.2813 18.7188 L 25.7188 17.2813 L 24.9375 16.5 L 26.5313 14.875 C 28.4755 12.9308 28.4755 9.75672 26.5313 7.8125 L 26.0625 7.375 L 28.7188 4.71875 L 27.2813 3.28125 Z M 20.6563 6 C 21.4238 6 22.1914 6.28511 22.7813 6.875 L 25.125 9.21875 C 26.3048 10.3985 26.3048 12.289 25.125 13.4688 L 24.875 13.6875 L 23.5 15.0625 L 16.9375 8.5 L 18.5313 6.875 C 19.1211 6.28511 19.8887 6 20.6563 6 Z M 7.71875 13.2813 L 6.28125 14.7188 L 7.0625 15.5 L 5.46875 17.125 C 3.52453 19.0692 3.52453 22.2433 5.46875 24.1875 L 5.90625 24.6563 L 3.28125 27.2813 L 4.71875 28.7188 L 7.34375 26.0938 L 7.8125 26.5313 C 9.75672 28.4755 12.9308 28.4755 14.875 26.5313 L 16.5 24.9375 L 17.2813 25.7188 L 18.7188 24.2813 L 7.71875 13.2813 Z M 8.5 16.9375 L 15.0625 23.5 L 13.4688 25.125 C 12.289 26.3048 10.3985 26.3048 9.21875 25.125 L 9 24.875 L 6.875 22.7813 C 5.69522 21.6015 5.69522 19.711 6.875 18.5313 L 8.5 16.9375 Z" Fill="#FF000000" Height="16" Stretch="Uniform" Width="16" />
44
</Canvas>

VisualStudio.Extension-2019/Resources/DeviceErase.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--This file is compatible with Silverlight-->
3-
<Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" Name="svg2" Width="16" Height="16">
3+
<Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" Name="svg2">
44
<Canvas Name="surface1" Width="16" Height="16">
55
<Path xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Name="path4154" Height="16" Stretch="Uniform" Width="16" Fill="#000000" Data="M 32.59375 4.03125 C 31.808594 4.03125 31.039063 4.296875 30.46875 4.875 L 3.875 31.75 C 2.703125 32.933594 2.703125 34.875 3.875 36.0625 L 13.4375 45.71875 C 13.628906 45.910156 13.886719 46 14.15625 46 L 41 46 C 41.390625 46.058594 41.78125 45.878906 41.996094 45.546875 C 42.210938 45.214844 42.210938 44.785156 41.996094 44.453125 C 41.78125 44.121094 41.390625 43.941406 41 44 L 25.03125 44 L 47.125 21.6875 C 48.296875 20.503906 48.296875 18.558594 47.125 17.375 L 34.75 4.875 C 34.179688 4.296875 33.378906 4.03125 32.59375 4.03125 Z M 18 20.375 L 32.3125 33.78125 L 22.21875 44 L 14.5625 44 L 5.3125 34.625 C 4.917969 34.222656 4.917969 33.585938 5.3125 33.1875 Z "/>
66
</Canvas>

VisualStudio.Extension-2019/Resources/DisableDeviceWatchers.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="16" Width="16">
1+
<Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
22
<Canvas Height="16" Width="16">
33
<Path Data="M 16 3 C 8.832031 3 3 8.832031 3 16 C 3 23.167969 8.832031 29 16 29 C 23.167969 29 29 23.167969 29 16 C 29 8.832031 23.167969 3 16 3 Z M 16 5 C 22.085938 5 27 9.914063 27 16 C 27 18.726563 26.011719 21.207031 24.375 23.125 L 9.03125 7.46875 C 10.925781 5.917969 13.351563 5 16 5 Z M 7.625 8.875 L 22.96875 24.53125 C 21.074219 26.082031 18.648438 27 16 27 C 9.914063 27 5 22.085938 5 16 C 5 13.273438 5.988281 10.792969 7.625 8.875 Z " Fill="#FF000000" Height="16" Stretch="Uniform" Width="16" />
44
</Canvas>

VisualStudio.Extension-2019/Resources/NanoFrameworkProject.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- This file was generated by the AiToXaml tool.-->
22
<!-- Tool Version: 14.0.22307.0 -->
3-
<Viewbox Width="16" Height="16" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
3+
<Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
44
<Rectangle Width="16" Height="16">
55
<Rectangle.Fill>
66
<DrawingBrush>

VisualStudio.Extension-2019/Resources/NetworkConfig.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" Name="svg2" Width="16" Height="16">
2+
<Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" Name="svg2">
33
<Canvas Name="surface1" Width="16" Height="16">
44
<Path xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Name="path5" Height="16" Stretch="Uniform" Width="16" Fill="#000000" Data="M 2 2 L 2 3 L 2 12 L 8 12 L 8 14 L 4 14 L 4 16 L 14 16 L 14 14 L 10 14 L 10 12 L 16 12 L 16 2 L 2 2 z M 4 4 L 14 4 L 14 10 L 4 10 L 4 4 z M 20 12 C 19.477778 12 18.94539 12.191329 18.568359 12.568359 C 18.191329 12.94539 18 13.477778 18 14 L 18 28 C 18 28.522222 18.191329 29.05461 18.568359 29.431641 C 18.94539 29.808671 19.477778 30 20 30 L 28 30 C 28.522222 30 29.05461 29.808671 29.431641 29.431641 C 29.808671 29.05461 30 28.522222 30 28 L 30 14 C 30 13.477778 29.808671 12.94539 29.431641 12.568359 C 29.05461 12.191329 28.522222 12 28 12 L 20 12 z M 20 14 L 28 14 L 28 28 L 20 28 L 20 14 z M 9 18 A 1 1 0 0 0 8 19 A 1 1 0 0 0 9 20 A 1 1 0 0 0 10 19 A 1 1 0 0 0 9 18 z M 9 21 A 1 1 0 0 0 8 22 A 1 1 0 0 0 9 23 A 1 1 0 0 0 10 22 A 1 1 0 0 0 9 21 z M 9 24 A 1 1 0 0 0 8 25 A 1 1 0 0 0 9 26 A 1 1 0 0 0 10 25 A 1 1 0 0 0 9 24 z M 12 24 A 1 1 0 0 0 11 25 A 1 1 0 0 0 12 26 A 1 1 0 0 0 13 25 A 1 1 0 0 0 12 24 z M 15 24 A 1 1 0 0 0 14 25 A 1 1 0 0 0 15 26 A 1 1 0 0 0 16 25 A 1 1 0 0 0 15 24 z M 23 25 L 23 27 L 25 27 L 25 25 L 23 25 z" />
55
</Canvas>

VisualStudio.Extension-2019/Resources/Ping.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="16" Width="16">
1+
<Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
22
<Canvas Height="16" Width="16">
33
<Path Data="M 5.40625 5.40625 C -0.442952 11.2555 -0.442952 20.7445 5.40625 26.5938 L 6.8125 25.1875 C 1.7277 20.1027 1.7277 11.8973 6.8125 6.8125 L 5.40625 5.40625 Z M 26.5938 5.40625 L 25.1875 6.8125 C 30.2723 11.8973 30.2723 20.1027 25.1875 25.1875 L 26.5938 26.5938 C 32.443 20.7445 32.443 11.2555 26.5938 5.40625 Z M 9.625 9.625 C 6.11878 13.1312 6.11878 18.8688 9.625 22.375 L 11.0625 20.9375 C 8.32072 18.1957 8.32072 13.8043 11.0625 11.0625 L 9.625 9.625 Z M 22.375 9.625 L 20.9375 11.0625 C 23.6793 13.8043 23.6793 18.1957 20.9375 20.9375 L 22.375 22.375 C 25.8812 18.8688 25.8812 13.1312 22.375 9.625 Z M 16 13 C 14.355 13 13 14.355 13 16 C 13 17.645 14.355 19 16 19 C 17.645 19 19 17.645 19 16 C 19 14.355 17.645 13 16 13 Z M 16 15 C 16.5641 15 17 15.4359 17 16 C 17 16.5641 16.5641 17 16 17 C 15.4359 17 15 16.5641 15 16 C 15 15.4359 15.4359 15 16 15 Z" Fill="#FF000000" Stretch="Uniform" Height="16" Width="16"/>
44
</Canvas>

VisualStudio.Extension-2019/Resources/Reboot.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="16" Width="16">
1+
<Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
22
<Canvas Height="16" Width="16">
33
<Path Data="M 16 4 C 10.886719 4 6.617188 7.160156 4.875 11.625 L 6.71875 12.375 C 8.175781 8.640625 11.710938 6 16 6 C 19.242188 6 22.132813 7.589844 23.9375 10 L 20 10 L 20 12 L 27 12 L 27 5 L 25 5 L 25 8.09375 C 22.808594 5.582031 19.570313 4 16 4 Z M 25.28125 19.625 C 23.824219 23.359375 20.289063 26 16 26 C 12.722656 26 9.84375 24.386719 8.03125 22 L 12 22 L 12 20 L 5 20 L 5 27 L 7 27 L 7 23.90625 C 9.1875 26.386719 12.394531 28 16 28 C 21.113281 28 25.382813 24.839844 27.125 20.375 Z" Fill="#FF000000" Stretch="Uniform" Height="16" Width="16"/>
44
</Canvas>

VisualStudio.Extension-2019/Resources/RescanDevices.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="16" Width="16">
1+
<Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
22
<Canvas Height="16" Width="16">
33
<Path Data="M 19 3 C 13.488281 3 9 7.488281 9 13 C 9 15.394531 9.839844 17.589844 11.25 19.3125 L 3.28125 27.28125 L 4.71875 28.71875 L 12.6875 20.75 C 14.410156 22.160156 16.605469 23 19 23 C 24.511719 23 29 18.511719 29 13 C 29 7.488281 24.511719 3 19 3 Z M 19 5 C 23.429688 5 27 8.570313 27 13 C 27 17.429688 23.429688 21 19 21 C 14.570313 21 11 17.429688 11 13 C 11 8.570313 14.570313 5 19 5 Z " Fill="#FF000000" Height="16" Stretch="Uniform" Width="16" />
44
</Canvas>

0 commit comments

Comments
 (0)